Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001743/0.001743, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002197/0.002197, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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 1.577/1.577, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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.2476/0.2476, allocations: 46.93 MB / 357.1 MB, free: 10.34 MB / 286.1 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.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 67.89 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.145, allocations: 65.99 MB / 0.5559 GB, free: 5.359 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01174/0.1567, allocations: 8.68 MB / 0.5643 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00783/0.1646, allocations: 3.483 MB / 0.5677 GB, free: 9.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1658, allocations: 51.75 kB / 0.5678 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002868/0.1687, allocations: 1.39 MB / 0.5692 GB, free: 7.688 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.1713, allocations: 0.9261 MB / 0.5701 GB, free: 6.758 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.1724, allocations: 0.5225 MB / 0.5706 GB, free: 6.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002557/0.175, allocations: 1.729 MB / 0.5723 GB, free: 4.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001744/0.1767, allocations: 1.378 MB / 0.5736 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001002/0.1777, allocations: 0.6699 MB / 0.5743 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.179, allocations: 0.9463 MB / 0.5752 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002158/0.1792, allocations: 136 kB / 0.5753 GB, free: 1.332 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001096/0.1803, allocations: 0.5968 MB / 0.5759 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007516/0.1811, allocations: 0.748 MB / 0.5766 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008525/0.1819, allocations: 0.8237 MB / 0.5774 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.1848, allocations: 2.475 MB / 0.5798 GB, free: 12.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.1848, allocations: 4 kB / 0.5798 GB, free: 12.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1848, allocations: 0 / 0.5798 GB, free: 12.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.946e-05/0.1848, allocations: 0 / 0.5798 GB, free: 12.67 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003702/0.1886, allocations: 2.042 MB / 0.5818 GB, free: 10.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1886, allocations: 8.031 kB / 0.5818 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.1897, allocations: 279.5 kB / 0.5821 GB, free: 10.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.1917, allocations: 1.064 MB / 0.5832 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/0.1918, allocations: 94.58 kB / 0.5832 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.1921, allocations: 131.9 kB / 0.5834 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005835/0.1979, allocations: 2.996 MB / 0.5863 GB, free: 5.762 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.385e-05/0.198, allocations: 15.92 kB / 0.5863 GB, free: 5.746 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.1981, allocations: 55.97 kB / 0.5864 GB, free: 5.691 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006838/0.1988, allocations: 434 kB / 0.5868 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005134/0.2039, allocations: 2.183 MB / 0.5889 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3353/0.5393, allocations: 10.7 MB / 0.5994 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/0.5436, allocations: 1.197 MB / 0.6005 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006706/0.5443, allocations: 374.9 kB / 0.6009 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004076/0.5484, allocations: 3.099 MB / 0.6039 GB, free: 26.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.5484, allocations: 39.44 kB / 0.604 GB, free: 26.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.325e-06/0.5484, allocations: 0 / 0.604 GB, free: 26.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01271/0.5611, allocations: 3.803 MB / 0.6077 GB, free: 25.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5612, allocations: 84.03 kB / 0.6077 GB, free: 25.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/0.563, allocations: 1.19 MB / 0.6089 GB, free: 24.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.563, allocations: 36.64 kB / 0.6089 GB, free: 24.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005812/0.5636, allocations: 0.9665 MB / 0.6099 GB, free: 24.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.5637, allocations: 237.8 kB / 0.6101 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003663/0.5641, allocations: 316.2 kB / 0.6104 GB, free: 23.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.554e-05/0.5642, allocations: 306.2 kB / 0.6107 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/0.5649, allocations: 422.8 kB / 0.6111 GB, free: 23.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.5659, allocations: 1.255 MB / 0.6123 GB, free: 22.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.5678, allocations: 1.817 MB / 0.6141 GB, free: 20.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.768e-05/0.5678, allocations: 8.656 kB / 0.6141 GB, free: 20.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003011/0.5708, allocations: 1.739 MB / 0.6158 GB, free: 19.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.5708, allocations: 21.91 kB / 0.6158 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.191e-05/0.5709, allocations: 29.53 kB / 0.6159 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002568/0.5711, allocations: 91.94 kB / 0.616 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.5723, allocations: 361.5 kB / 0.6163 GB, free: 19.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.5736, allocations: 1.871 MB / 0.6181 GB, free: 17.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009806/0.5746, allocations: 67.22 kB / 0.6182 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.5747, allocations: 85.03 kB / 0.6183 GB, free: 17.95 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009345/0.5756, allocations: 0.6409 MB / 0.6189 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.5758, allocations: 128 kB / 0.619 GB, free: 17.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002528/0.576, allocations: 132.1 kB / 0.6191 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5761, allocations: 6.688 kB / 0.6192 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/0.5761, allocations: 1.219 kB / 0.6192 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.5761, allocations: 4.641 kB / 0.6192 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.5795, allocations: 2.243 MB / 0.6213 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.5795, allocations: 4.125 kB / 0.6214 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003782/0.5799, allocations: 94.61 kB / 0.6214 GB, free: 16.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.5801, allocations: 64.97 kB / 0.6215 GB, free: 16.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.5801, allocations: 19.81 kB / 0.6215 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.5814, allocations: 1.945 MB / 0.6234 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.5814, allocations: 9 kB / 0.6234 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.5828, allocations: 1.125 MB / 0.6245 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.583, allocations: 182.6 kB / 0.6247 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.5831, allocations: 15.47 kB / 0.6247 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.5835, allocations: 24.98 kB / 0.6247 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/0.5836, allocations: 54.72 kB / 0.6248 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.209e-05/0.5836, allocations: 19.88 kB / 0.6248 GB, free: 13.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009453/0.5845, allocations: 0.7555 MB / 0.6255 GB, free: 13.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5845, allocations: 0 / 0.6255 GB, free: 13.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001527/0.5861, allocations: 294.9 kB / 0.6258 GB, free: 13.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002066/0.5863, allocations: 129.1 kB / 0.626 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.588, allocations: 1.068 MB / 0.627 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.588, allocations: 1.219 kB / 0.627 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005018/0.5885, allocations: 404.9 kB / 0.6274 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009016/0.5894, allocations: 182.8 kB / 0.6276 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.593, allocations: 2.846 MB / 0.6303 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.5938, allocations: 1.451 MB / 0.6318 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007696/0.5945, allocations: 409.7 kB / 0.6321 GB, free: 9.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.5947, allocations: 79.47 kB / 0.6322 GB, free: 9.41 MB / 446.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5947, allocations: 3.656 kB / 0.6322 GB, free: 9.41 MB / 446.1 MB Notification: Performance of Templates: time 0.01882/0.6135, allocations: 10.93 MB / 0.6429 GB, free: 14.91 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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: 6.09548507258296]