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.0009738/0.0009738, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009625/0.0009625, allocations: 169.3 kB / 24.14 MB, free: 360 kB / 18.57 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 0.9562/0.9562, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.1442/0.1442, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 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.573e-06/1.573e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.404e-05, allocations: 2.312 kB / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.1574/0.1574, allocations: 11.91 MB / 311 MB, free: 13.88 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00953/0.167, allocations: 3.947 MB / 315 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0025/0.1695, allocations: 74.06 kB / 315.1 MB, free: 11.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002349/0.1718, allocations: 1.385 MB / 316.4 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00413/0.1759, allocations: 1.889 MB / 318.3 MB, free: 9.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1769, allocations: 456.8 kB / 318.8 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004035/0.181, allocations: 4.009 MB / 322.8 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.1834, allocations: 2.161 MB / 324.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002552/0.1859, allocations: 1.902 MB / 326.8 MB, free: 2.363 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001968/0.1879, allocations: 1.866 MB / 328.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005372/0.1884, allocations: 244 kB / 329 MB, free: 260 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/0.1898, allocations: 0.819 MB / 329.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001443/0.1912, allocations: 1.741 MB / 331.5 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.1928, allocations: 1.043 MB / 332.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004987/0.1978, allocations: 4.058 MB / 336.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1978, allocations: 0 / 336.6 MB, free: 8.566 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1978, allocations: 3.938 kB / 336.6 MB, free: 8.562 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001873/0.198, allocations: 4 kB / 336.6 MB, free: 8.559 MB / 298.7 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.005903/0.2039, allocations: 3.888 MB / 340.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.204, allocations: 8.031 kB / 340.5 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005594/0.2096, allocations: 1.409 MB / 341.9 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.2122, allocations: 1.445 MB / 343.4 MB, free: 1.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.2124, allocations: 185.2 kB / 343.6 MB, free: 1.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004142/0.2128, allocations: 256.2 kB / 343.8 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006309/0.2191, allocations: 4.448 MB / 348.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.137e-05/0.2191, allocations: 31.73 kB / 348.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002856/0.2194, allocations: 123.8 kB / 348.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002652/0.2221, allocations: 2.21 MB / 350.6 MB, free: 10.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005982/0.2281, allocations: 2.53 MB / 353.1 MB, free: 7.477 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02879/0.2569, allocations: 24.44 MB / 377.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/0.2594, allocations: 1.209 MB / 378.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.2598, allocations: 243.2 kB / 379 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.2602, allocations: 412.5 kB / 379.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.2602, allocations: 55.81 kB / 379.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=187): time 3.957e-06/0.2602, allocations: 0 / 379.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=193): time 0.008725/0.269, allocations: 4.345 MB / 383.8 MB, free: 7.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.269, allocations: 90.42 kB / 383.9 MB, free: 7.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.2712, allocations: 2.265 MB / 386.2 MB, free: 5.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.2713, allocations: 45.7 kB / 386.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.2726, allocations: 2.769 MB / 389 MB, free: 2.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004207/0.273, allocations: 0.7322 MB / 389.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007298/0.2737, allocations: 0.9263 MB / 390.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2738, allocations: 357.8 kB / 391 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009323/0.2748, allocations: 0.6066 MB / 391.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/0.277, allocations: 3.424 MB / 395 MB, free: 11.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00361/0.2806, allocations: 4.47 MB / 399.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.314e-05/0.2807, allocations: 28 kB / 399.5 MB, free: 5.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=666) (initialization): time 0.00395/0.2846, allocations: 3.254 MB / 402.8 MB, free: 1.867 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.2847, allocations: 55.98 kB / 402.8 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.131e-05/0.2848, allocations: 104.6 kB / 402.9 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002624/0.285, allocations: 170.1 kB / 403.1 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001861/0.2869, allocations: 1.123 MB / 404.2 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.288, allocations: 1.479 MB / 405.7 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.2898, allocations: 188 kB / 405.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/0.29, allocations: 271.9 kB / 406.2 MB, free: 14.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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 (614): * Single equations (assignments): 607 * 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.001315/0.2913, allocations: 0.5007 MB / 406.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.2916, allocations: 175.8 kB / 406.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/0.2927, allocations: 1.048 MB / 407.9 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.2927, allocations: 20 kB / 407.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2927, allocations: 0 / 407.9 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.2927, allocations: 7.969 kB / 407.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005392/0.2981, allocations: 4.156 MB / 412.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.2981, allocations: 8 kB / 412.1 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.2987, allocations: 239.6 kB / 412.3 MB, free: 8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/0.2988, allocations: 53.42 kB / 412.4 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.584e-05/0.2989, allocations: 40 kB / 412.4 MB, free: 7.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009914/0.2999, allocations: 1.418 MB / 413.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/0.2999, allocations: 15.94 kB / 413.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3016, allocations: 1.544 MB / 415.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.3021, allocations: 346.2 kB / 415.7 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.3023, allocations: 39.98 kB / 415.8 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.3027, allocations: 39.92 kB / 415.8 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.3029, allocations: 120.6 kB / 415.9 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.303, allocations: 64.02 kB / 416 MB, free: 4.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00076/0.3037, allocations: 0.7963 MB / 416.8 MB, free: 3.223 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3037, allocations: 0 / 416.8 MB, free: 3.223 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002841/0.3066, allocations: 0.8788 MB / 417.6 MB, free: 2.344 MB / 378.7 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.0003877/0.307, allocations: 183.8 kB / 417.8 MB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002779/0.3098, allocations: 2.039 MB / 419.9 MB, free: 124 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.945e-05/0.3098, allocations: 68 kB / 419.9 MB, free: 52 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.3105, allocations: 0.5265 MB / 420.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/0.3116, allocations: 272.1 kB / 420.7 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.322, allocations: 7.448 MB / 428.2 MB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.3231, allocations: 1.159 MB / 429.3 MB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001052/0.3241, allocations: 391.9 kB / 429.7 MB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005508/0.3247, allocations: 407.3 kB / 430.1 MB, free: 5.605 MB / 394.7 MB Notification: Performance of SimCode: time 2.395e-06/0.3247, allocations: 4 kB / 430.1 MB, free: 5.602 MB / 394.7 MB Notification: Performance of Templates: time 0.03546/0.3602, allocations: 19.16 MB / 449.3 MB, free: 2.539 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6196931400336325]