Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.001356/0.001356, allocations: 70.98 kB / 19.93 MB, free: 1.77 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.001454/0.001454, allocations: 170 kB / 23.22 MB, free: 4.887 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2127/0.2127, allocations: 32.38 MB / 269.6 MB, free: 4.648 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 407.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.93e-05, allocations: 2.281 kB / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01596/0.01599, allocations: 11.06 MB / 418.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.02643, allocations: 3.731 MB / 422.2 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002835/0.02927, allocations: 67.75 kB / 422.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003704/0.03297, allocations: 1.366 MB / 423.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005581/0.03855, allocations: 1.898 MB / 425.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.03981, allocations: 455 kB / 425.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005783/0.04559, allocations: 4.01 MB / 429.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003837/0.04943, allocations: 2.136 MB / 432.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003362/0.05279, allocations: 1.913 MB / 434 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003451/0.05624, allocations: 1.991 MB / 436 MB, free: 6.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005851/0.05683, allocations: 248 kB / 436.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/0.0588, allocations: 0.7995 MB / 437 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.06086, allocations: 1.741 MB / 438.8 MB, free: 3.461 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.06278, allocations: 1.051 MB / 439.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008796/0.07157, allocations: 6.221 MB / 446 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.07158, allocations: 0 / 446 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.07158, allocations: 0 / 446 MB, free: 12.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001901/0.07177, allocations: 0 / 446 MB, free: 12.16 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.009154/0.08092, allocations: 4.197 MB / 450.2 MB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.08098, allocations: 12.03 kB / 450.2 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.09352, allocations: 3.176 MB / 453.4 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006145/0.09967, allocations: 1.914 MB / 455.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.09986, allocations: 189.2 kB / 455.5 MB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000776/0.1006, allocations: 260.2 kB / 455.8 MB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02015/0.1208, allocations: 10.39 MB / 466.2 MB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/0.1209, allocations: 27.77 kB / 466.2 MB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004199/0.1213, allocations: 115.8 kB / 466.3 MB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004615/0.1259, allocations: 2.542 MB / 468.9 MB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2636/0.3895, allocations: 9.43 MB / 478.3 MB, free: 62.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04618/0.4357, allocations: 29.56 MB / 0.4959 GB, free: 43.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005143/0.4408, allocations: 2.455 MB / 0.4983 GB, free: 42.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.4421, allocations: 0.9996 MB / 0.4993 GB, free: 41.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/0.4428, allocations: 447.2 kB / 0.4997 GB, free: 41.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.4428, allocations: 47.22 kB / 0.4998 GB, free: 41.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=187): time 4.478e-06/0.4428, allocations: 4.438 kB / 0.4998 GB, free: 41.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=193): time 0.0186/0.4614, allocations: 9.949 MB / 0.5095 GB, free: 32.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.4614, allocations: 94.42 kB / 0.5096 GB, free: 32.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.4641, allocations: 2.779 MB / 0.5123 GB, free: 29.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.4642, allocations: 45.7 kB / 0.5124 GB, free: 29.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.4654, allocations: 2.848 MB / 0.5151 GB, free: 26.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.4659, allocations: 0.731 MB / 0.5158 GB, free: 25.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009643/0.4669, allocations: 0.9771 MB / 0.5168 GB, free: 24.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.4669, allocations: 361.9 kB / 0.5171 GB, free: 24.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.4687, allocations: 1.567 MB / 0.5187 GB, free: 22.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/0.4715, allocations: 4.474 MB / 0.523 GB, free: 17.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005349/0.4768, allocations: 6.698 MB / 0.5296 GB, free: 8.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.187e-05/0.4769, allocations: 28 kB / 0.5296 GB, free: 8.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.008533/0.4854, allocations: 5.953 MB / 0.5354 GB, free: 2.902 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.4855, allocations: 48 kB / 0.5355 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-05/0.4856, allocations: 100 kB / 0.5356 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/0.4859, allocations: 181.5 kB / 0.5357 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.4889, allocations: 1.099 MB / 0.5368 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.4902, allocations: 1.676 MB / 0.5385 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/0.4936, allocations: 251.5 kB / 0.5387 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005554/0.4942, allocations: 300 kB / 0.539 GB, free: 15.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (609): * Single equations (assignments): 602 * Array equations: 6 * 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.003716/0.4979, allocations: 2.028 MB / 0.541 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005844/0.4985, allocations: 250.3 kB / 0.5412 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/0.5028, allocations: 2.535 MB / 0.5437 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/0.5028, allocations: 20 kB / 0.5437 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5028, allocations: 0 / 0.5437 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.686e-05/0.5028, allocations: 7.969 kB / 0.5437 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.516, allocations: 6.769 MB / 0.5503 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.516, allocations: 12 kB / 0.5503 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.5171, allocations: 247.6 kB / 0.5506 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001943/0.5173, allocations: 60.77 kB / 0.5506 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.5174, allocations: 47.22 kB / 0.5507 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.5192, allocations: 1.499 MB / 0.5521 GB, free: 1.426 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.79e-05/0.5192, allocations: 15.94 kB / 0.5521 GB, free: 1.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0066/0.5258, allocations: 4.03 MB / 0.5561 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.5272, allocations: 446.2 kB / 0.5565 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/0.5276, allocations: 47.38 kB / 0.5565 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.5287, allocations: 75.91 kB / 0.5566 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/0.529, allocations: 128.6 kB / 0.5567 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/0.5291, allocations: 63.98 kB / 0.5568 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002678/0.5318, allocations: 1.584 MB / 0.5583 GB, free: 10.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5318, allocations: 3.938 kB / 0.5584 GB, free: 10.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004699/0.5365, allocations: 0.8786 MB / 0.5592 GB, free: 10 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0006077/0.5371, allocations: 202.3 kB / 0.5594 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006457/0.5435, allocations: 3.775 MB / 0.5631 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.031e-05/0.5436, allocations: 0 / 0.5631 GB, free: 6.035 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.5455, allocations: 1.178 MB / 0.5642 GB, free: 4.852 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.5474, allocations: 248.4 kB / 0.5645 GB, free: 4.609 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01748/0.5648, allocations: 8.765 MB / 0.573 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004073/0.5689, allocations: 2.654 MB / 0.5756 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004077/0.573, allocations: 1.708 MB / 0.5773 GB, free: 7.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005296/0.5735, allocations: 184.5 kB / 0.5775 GB, free: 7.094 MB / 446.1 MB Notification: Performance of SimCode: time 1.503e-06/0.5735, allocations: 3.938 kB / 0.5775 GB, free: 7.09 MB / 446.1 MB Notification: Performance of Templates: time 0.04688/0.6204, allocations: 16.94 MB / 0.594 GB, free: 6.324 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.657168623059988]