Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005249/0.005249, allocations: 160.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8881/0.8881, allocations: 177.1 MB / 205 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.256/0.256, allocations: 34.25 MB / 295.7 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J2.phi|J2.w|J3.phi|J3.w|J5.phi|J5.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 443.4 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.359e-05, allocations: 6.219 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.1796/0.1797, allocations: 2.668 MB / 446.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007387/0.1804, allocations: 0.7653 MB / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1805, allocations: 16.56 kB / 446.9 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.1806, allocations: 57.7 kB / 446.9 MB, free: 42.76 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001255/0.1808, allocations: 140 kB / 447.1 MB, free: 42.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.181, allocations: 112.1 kB / 447.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1812, allocations: 470.6 kB / 447.6 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.1814, allocations: 128 kB / 447.8 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002045/0.1816, allocations: 269 kB / 448 MB, free: 42.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1817, allocations: 140.7 kB / 448.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.1817, allocations: 34.5 kB / 448.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.1818, allocations: 37.66 kB / 448.2 MB, free: 42.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.997e-05/0.1818, allocations: 87.94 kB / 448.3 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.1819, allocations: 140.9 kB / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1822, allocations: 453 kB / 448.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1822, allocations: 2.594 kB / 448.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1822, allocations: 3.938 kB / 448.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1822, allocations: 0 / 448.9 MB, free: 42.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000521/0.1827, allocations: 0.6125 MB / 449.5 MB, free: 41.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1827, allocations: 12.66 kB / 449.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.1829, allocations: 78.11 kB / 449.6 MB, free: 41.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1831, allocations: 230.6 kB / 449.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1831, allocations: 31.06 kB / 449.9 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.1832, allocations: 42.62 kB / 449.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.1835, allocations: 382.5 kB / 450.3 MB, free: 41.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1835, allocations: 6.922 kB / 450.3 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.1835, allocations: 15.16 kB / 450.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1835, allocations: 15.16 kB / 450.3 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.1838, allocations: 243.4 kB / 450.6 MB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.1845, allocations: 0.9077 MB / 451.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.1848, allocations: 326.7 kB / 451.8 MB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.1849, allocations: 159.4 kB / 451.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.185, allocations: 2.906 kB / 451.9 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.444e-05/0.185, allocations: 37.47 kB / 452 MB, free: 40.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 1.583e-06/0.185, allocations: 0 / 452 MB, free: 40.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=57): time 0.001714/0.1867, allocations: 2.02 MB / 454 MB, free: 38.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.1867, allocations: 108.7 kB / 454.1 MB, free: 38.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.801e-05/0.1868, allocations: 195.4 kB / 454.3 MB, free: 38.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1868, allocations: 36.7 kB / 454.3 MB, free: 38.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.1869, allocations: 195.5 kB / 454.5 MB, free: 38.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.1869, allocations: 199.5 kB / 454.7 MB, free: 38.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.469e-05/0.187, allocations: 94.61 kB / 454.8 MB, free: 38.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.446e-05/0.187, allocations: 341.4 kB / 455.1 MB, free: 37.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.1872, allocations: 127.7 kB / 455.3 MB, free: 37.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.1873, allocations: 229.5 kB / 455.5 MB, free: 37.65 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.1876, allocations: 405 kB / 455.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1876, allocations: 3.938 kB / 455.9 MB, free: 37.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004855/0.1881, allocations: 0.549 MB / 456.4 MB, free: 37.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1881, allocations: 10.66 kB / 456.4 MB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1881, allocations: 2.625 kB / 456.4 MB, free: 37.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.1883, allocations: 125.9 kB / 456.6 MB, free: 37.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1885, allocations: 99.5 kB / 456.7 MB, free: 37.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.1901, allocations: 4.807 MB / 461.5 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.1902, allocations: 17.75 kB / 461.5 MB, free: 32.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.1902, allocations: 20.75 kB / 461.5 MB, free: 32.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.1903, allocations: 178.3 kB / 461.7 MB, free: 32.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.1904, allocations: 43.23 kB / 461.7 MB, free: 32.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.1904, allocations: 40.42 kB / 461.8 MB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1904, allocations: 6.375 kB / 461.8 MB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1904, allocations: 3.375 kB / 461.8 MB, free: 32.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1904, allocations: 7.125 kB / 461.8 MB, free: 32.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008846/0.1913, allocations: 1.178 MB / 463 MB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1913, allocations: 3.031 kB / 463 MB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.1915, allocations: 101.7 kB / 463.1 MB, free: 31.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/0.1916, allocations: 86.14 kB / 463.2 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.1916, allocations: 18.39 kB / 463.2 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.1927, allocations: 4.033 MB / 467.2 MB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1927, allocations: 3.219 kB / 467.2 MB, free: 27.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006195/0.1933, allocations: 0.9095 MB / 468.1 MB, free: 27.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.1934, allocations: 39.83 kB / 468.2 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1934, allocations: 7.219 kB / 468.2 MB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1935, allocations: 24.52 kB / 468.2 MB, free: 27.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.1936, allocations: 51.62 kB / 468.2 MB, free: 27.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1936, allocations: 16.66 kB / 468.3 MB, free: 27.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.195e-05/0.1936, allocations: 140 kB / 468.4 MB, free: 27.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1936, allocations: 0 / 468.4 MB, free: 27.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.194, allocations: 120.4 kB / 468.5 MB, free: 27.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.014e-05/0.1941, allocations: 113.7 kB / 468.6 MB, free: 26.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005986/0.1947, allocations: 0.7517 MB / 469.4 MB, free: 26.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1947, allocations: 0 / 469.4 MB, free: 26.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.195, allocations: 0.5712 MB / 469.9 MB, free: 26.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1953, allocations: 53.58 kB / 470 MB, free: 26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.1962, allocations: 0.9939 MB / 471 MB, free: 25.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.1963, allocations: 214.9 kB / 471.2 MB, free: 25.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.1964, allocations: 37.88 kB / 471.2 MB, free: 25.23 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.1964, allocations: 0 / 471.2 MB, free: 25.23 MB / 410.7 MB Notification: Performance of Templates: time 0.005393/0.2018, allocations: 9.543 MB / 480.8 MB, free: 24.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/Directions/Directions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.Directions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.300396835431457]