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.001956/0.001956, allocations: 96.97 kB / 20.21 MB, free: 4.207 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.002001/0.002001, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 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 1.482/1.482, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 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.2292/0.2292, allocations: 32.37 MB / 270 MB, free: 14.76 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.774e-06/1.774e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.265e-05/3.443e-05, allocations: 2.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01125/0.01128, allocations: 12.11 MB / 359.1 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009907/0.02119, allocations: 3.817 MB / 362.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.02312, allocations: 71.75 kB / 362.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003583/0.0267, allocations: 1.401 MB / 364.3 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005274/0.03197, allocations: 1.902 MB / 366.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.03326, allocations: 466.9 kB / 366.7 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006309/0.03957, allocations: 4.005 MB / 370.7 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004017/0.04359, allocations: 2.204 MB / 372.9 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003519/0.04711, allocations: 1.91 MB / 374.8 MB, free: 13.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.05069, allocations: 1.995 MB / 376.8 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007251/0.05141, allocations: 248 kB / 377.1 MB, free: 11.54 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.05367, allocations: 0.7995 MB / 377.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002085/0.05576, allocations: 1.749 MB / 379.6 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.0575, allocations: 1.043 MB / 380.6 MB, free: 7.938 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008841/0.06634, allocations: 6.24 MB / 386.9 MB, free: 1.676 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.06635, allocations: 4 kB / 386.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.06635, allocations: 0 / 386.9 MB, free: 1.672 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002238/0.06657, allocations: 0 / 386.9 MB, free: 1.672 MB / 314.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.01076/0.07733, allocations: 5.022 MB / 391.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.07737, allocations: 8.031 kB / 391.9 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/0.09021, allocations: 3.656 MB / 395.6 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/0.09571, allocations: 1.764 MB / 397.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002342/0.09594, allocations: 193.2 kB / 397.5 MB, free: 6.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007737/0.09671, allocations: 260.1 kB / 397.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01364/0.1103, allocations: 5.681 MB / 403.5 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.1104, allocations: 23.81 kB / 403.5 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003998/0.1108, allocations: 115.8 kB / 403.6 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004986/0.1158, allocations: 2.542 MB / 406.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/0.129, allocations: 3.637 MB / 409.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2082/0.3372, allocations: 41.03 MB / 450.8 MB, free: 91.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00438/0.3416, allocations: 1.325 MB / 452.1 MB, free: 91.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008466/0.3425, allocations: 386.4 kB / 452.5 MB, free: 91.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000775/0.3432, allocations: 401.8 kB / 452.9 MB, free: 91.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3433, allocations: 53.58 kB / 453 MB, free: 90.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 4.028e-06/0.3433, allocations: 0 / 453 MB, free: 90.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.01597/0.3592, allocations: 6.351 MB / 459.3 MB, free: 89.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3593, allocations: 89.55 kB / 459.4 MB, free: 89.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002939/0.3622, allocations: 3.118 MB / 462.5 MB, free: 88.99 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-05/0.3623, allocations: 49.75 kB / 462.6 MB, free: 88.96 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.3635, allocations: 3.121 MB / 465.7 MB, free: 87.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004917/0.364, allocations: 0.8261 MB / 466.5 MB, free: 86.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.3652, allocations: 1.249 MB / 467.8 MB, free: 86.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3653, allocations: 0.5667 MB / 468.3 MB, free: 86.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.3664, allocations: 0.5573 MB / 468.9 MB, free: 86.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.3687, allocations: 5.021 MB / 473.9 MB, free: 80.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003957/0.3727, allocations: 6.164 MB / 480.1 MB, free: 74.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.649e-05/0.3727, allocations: 27.28 kB / 480.1 MB, free: 74.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.006148/0.3789, allocations: 4.226 MB / 484.3 MB, free: 72.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.3789, allocations: 50.61 kB / 484.4 MB, free: 72.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.028e-05/0.379, allocations: 107.3 kB / 484.5 MB, free: 72.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002848/0.3793, allocations: 179.2 kB / 484.7 MB, free: 72.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/0.382, allocations: 1.091 MB / 485.7 MB, free: 71.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.3831, allocations: 2.078 MB / 487.8 MB, free: 69.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/0.3857, allocations: 248.6 kB / 488.1 MB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003567/0.386, allocations: 295.8 kB / 488.4 MB, free: 68.83 MB / 378.7 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.001574/0.3876, allocations: 0.6701 MB / 489 MB, free: 68.17 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/0.3881, allocations: 298.3 kB / 489.3 MB, free: 67.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.3905, allocations: 1.483 MB / 490.8 MB, free: 66.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.3905, allocations: 23.94 kB / 490.8 MB, free: 66.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3905, allocations: 7.125 kB / 490.8 MB, free: 66.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3905, allocations: 7.5 kB / 490.8 MB, free: 66.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.4012, allocations: 6.21 MB / 497 MB, free: 60.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.4012, allocations: 16.16 kB / 497.1 MB, free: 60.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009297/0.4022, allocations: 255.6 kB / 497.3 MB, free: 60.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001726/0.4023, allocations: 55.66 kB / 497.4 MB, free: 60.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.103e-05/0.4024, allocations: 43.98 kB / 497.4 MB, free: 60.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009712/0.4034, allocations: 1.901 MB / 499.3 MB, free: 58.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.4034, allocations: 19.97 kB / 499.3 MB, free: 58.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.4062, allocations: 2.106 MB / 0.4897 GB, free: 55.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.4075, allocations: 422.2 kB / 0.4901 GB, free: 55.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.4078, allocations: 39.98 kB / 0.4901 GB, free: 55.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008801/0.4087, allocations: 83.08 kB / 0.4902 GB, free: 55.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.4089, allocations: 128.6 kB / 0.4903 GB, free: 55.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-05/0.409, allocations: 64 kB / 0.4904 GB, free: 55.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001553/0.4105, allocations: 1.28 MB / 0.4916 GB, free: 53.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4105, allocations: 0 / 0.4916 GB, free: 53.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003843/0.4144, allocations: 0.8743 MB / 0.4925 GB, free: 52.95 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.0004179/0.4148, allocations: 209.9 kB / 0.4927 GB, free: 52.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003951/0.4187, allocations: 2.611 MB / 0.4952 GB, free: 50.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.4187, allocations: 0 / 0.4952 GB, free: 50.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.4197, allocations: 0.763 MB / 0.496 GB, free: 49.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/0.4213, allocations: 268.1 kB / 0.4962 GB, free: 49.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009994/0.4313, allocations: 7.429 MB / 0.5035 GB, free: 41.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002377/0.4337, allocations: 2.333 MB / 0.5058 GB, free: 39.08 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00288/0.4366, allocations: 1.466 MB / 0.5072 GB, free: 37.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004725/0.437, allocations: 188.5 kB / 0.5074 GB, free: 37.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.654e-06/0.437, allocations: 0 / 0.5074 GB, free: 37.43 MB / 378.7 MB Notification: Performance of Templates: time 0.0358/0.4728, allocations: 16.9 MB / 0.5239 GB, free: 20.72 MB / 378.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 -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","/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.386399329057895]