Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001029/0.001029, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001119/0.001119, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.9338/0.9338, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2707/0.2707, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.67e-05, allocations: 2.312 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008658/0.008675, allocations: 11.51 MB / 334.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.01399, allocations: 3.905 MB / 338.6 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.01449, allocations: 71.75 kB / 338.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.01616, allocations: 1.397 MB / 340.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.01802, allocations: 1.844 MB / 342 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.01849, allocations: 467 kB / 342.4 MB, free: 6.445 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002472/0.02096, allocations: 3.961 MB / 346.4 MB, free: 2.477 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.02261, allocations: 2.215 MB / 348.6 MB, free: 216 kB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.02392, allocations: 1.878 MB / 350.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.02583, allocations: 1.827 MB / 352.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005014/0.02633, allocations: 240 kB / 352.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.02754, allocations: 0.7683 MB / 353.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.02863, allocations: 1.675 MB / 355 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.02978, allocations: 1.004 MB / 356 MB, free: 8.805 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004223/0.03401, allocations: 3.914 MB / 359.9 MB, free: 4.875 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.03401, allocations: 0 / 359.9 MB, free: 4.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.03402, allocations: 0 / 359.9 MB, free: 4.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001548/0.03417, allocations: 0 / 359.9 MB, free: 4.875 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.004082/0.03825, allocations: 3.767 MB / 363.7 MB, free: 1.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.03829, allocations: 8.031 kB / 363.7 MB, free: 1.051 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/0.04189, allocations: 1.39 MB / 365.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.04406, allocations: 1.398 MB / 366.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.04421, allocations: 185 kB / 366.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003993/0.04461, allocations: 252.1 kB / 366.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006468/0.05108, allocations: 4.368 MB / 371.2 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.779e-05/0.05115, allocations: 27.75 kB / 371.3 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.05138, allocations: 115.8 kB / 371.4 MB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001913/0.05329, allocations: 2.14 MB / 373.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005944/0.05924, allocations: 2.499 MB / 376 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02593/0.08516, allocations: 23.79 MB / 399.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.08745, allocations: 1.188 MB / 401 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.08779, allocations: 246.6 kB / 401.2 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/0.08822, allocations: 396.6 kB / 401.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.08825, allocations: 51.95 kB / 401.7 MB, free: 9.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=185): time 4.809e-06/0.08825, allocations: 11.92 kB / 401.7 MB, free: 9.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=191): time 0.008192/0.09645, allocations: 4.294 MB / 406 MB, free: 5.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.09648, allocations: 64.72 kB / 406 MB, free: 5.301 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.09822, allocations: 2.219 MB / 408.3 MB, free: 3.047 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.564e-05/0.0983, allocations: 45.7 kB / 408.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.0995, allocations: 2.687 MB / 411 MB, free: 288 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004522/0.09995, allocations: 0.7247 MB / 411.7 MB, free: 15.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006776/0.1006, allocations: 0.9065 MB / 412.6 MB, free: 14.63 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1007, allocations: 361.8 kB / 413 MB, free: 14.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008856/0.1016, allocations: 0.5984 MB / 413.6 MB, free: 13.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.1037, allocations: 3.333 MB / 416.9 MB, free: 8.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.1077, allocations: 4.362 MB / 421.3 MB, free: 3.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.543e-05/0.1078, allocations: 28 kB / 421.3 MB, free: 3.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.004965/0.1128, allocations: 3.183 MB / 424.5 MB, free: 15.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/0.1128, allocations: 48 kB / 424.5 MB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-05/0.1129, allocations: 104 kB / 424.6 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002503/0.1131, allocations: 168.8 kB / 424.8 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002113/0.1152, allocations: 1.057 MB / 425.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009929/0.1162, allocations: 1.468 MB / 427.3 MB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.1181, allocations: 184 kB / 427.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.1184, allocations: 256 kB / 427.8 MB, free: 12.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 458 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (601): * Single equations (assignments): 594 * 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.001391/0.1198, allocations: 0.5045 MB / 428.3 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.1201, allocations: 175.8 kB / 428.4 MB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1212, allocations: 1.032 MB / 429.5 MB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.1212, allocations: 23.98 kB / 429.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1212, allocations: 4 kB / 429.5 MB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1213, allocations: 8.156 kB / 429.5 MB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005538/0.1268, allocations: 3.989 MB / 433.5 MB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.938e-06/0.1268, allocations: 8 kB / 433.5 MB, free: 6.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.1273, allocations: 231.6 kB / 433.7 MB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.1274, allocations: 49.66 kB / 433.8 MB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.1275, allocations: 35.98 kB / 433.8 MB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009369/0.1284, allocations: 1.406 MB / 435.2 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.1284, allocations: 15.94 kB / 435.2 MB, free: 4.707 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.1301, allocations: 1.516 MB / 436.7 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004353/0.1305, allocations: 218.3 kB / 437 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.1307, allocations: 43.97 kB / 437 MB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.1311, allocations: 31.94 kB / 437 MB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001409/0.1312, allocations: 124.6 kB / 437.2 MB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.611e-05/0.1313, allocations: 56.02 kB / 437.2 MB, free: 2.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008468/0.1321, allocations: 0.7751 MB / 438 MB, free: 1.746 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1321, allocations: 0 / 438 MB, free: 1.746 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00287/0.135, allocations: 0.8358 MB / 438.8 MB, free: 0.9102 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * 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.0004683/0.1355, allocations: 167.9 kB / 439 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00324/0.1387, allocations: 2.007 MB / 441 MB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001134/0.1388, allocations: 59.94 kB / 441 MB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006906/0.1395, allocations: 0.5106 MB / 441.6 MB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.1408, allocations: 289.5 kB / 441.8 MB, free: 13.87 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.1518, allocations: 7.26 MB / 449.1 MB, free: 6.402 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.153, allocations: 1.125 MB / 450.2 MB, free: 5.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001072/0.1541, allocations: 383.4 kB / 450.6 MB, free: 4.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/0.1546, allocations: 409.2 kB / 451 MB, free: 4.473 MB / 426.7 MB Notification: Performance of SimCode: time 2.424e-06/0.1546, allocations: 0 / 451 MB, free: 4.473 MB / 426.7 MB Notification: Performance of Templates: time 0.1793/0.3339, allocations: 18.8 MB / 469.8 MB, free: 122.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.845592266879976]