Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001259/0.001259, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001417/0.001417, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 1.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.2549/0.2549, allocations: 34.25 MB / 295.7 MB, free: 0.75 MB / 266.7 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 378 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.245e-05, allocations: 2.312 kB / 378 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.009555/0.009578, allocations: 11.82 MB / 389.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.01635, allocations: 3.796 MB / 393.7 MB, free: 2.957 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.01795, allocations: 67.75 kB / 393.7 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.01967, allocations: 1.405 MB / 395.1 MB, free: 1.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002963/0.02263, allocations: 1.836 MB / 397 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.0234, allocations: 466.9 kB / 397.4 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003675/0.02707, allocations: 3.964 MB / 401.4 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002535/0.02961, allocations: 2.168 MB / 403.6 MB, free: 9 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.03215, allocations: 1.871 MB / 405.4 MB, free: 7.125 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002181/0.03433, allocations: 1.933 MB / 407.4 MB, free: 5.188 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006364/0.03497, allocations: 240 kB / 407.6 MB, free: 4.953 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.03621, allocations: 0.7722 MB / 408.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.03737, allocations: 1.675 MB / 410 MB, free: 2.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.03873, allocations: 0.9964 MB / 411 MB, free: 1.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003919/0.04265, allocations: 3.918 MB / 415 MB, free: 13.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.04265, allocations: 3.984 kB / 415 MB, free: 13.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.04266, allocations: 0 / 415 MB, free: 13.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001613/0.04282, allocations: 3.938 kB / 415 MB, free: 13.56 MB / 394.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.005042/0.04786, allocations: 4.467 MB / 419.4 MB, free: 9.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.0479, allocations: 12.03 kB / 419.4 MB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008433/0.05634, allocations: 3.625 MB / 423.1 MB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002412/0.05875, allocations: 1.718 MB / 424.8 MB, free: 3.633 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.05886, allocations: 201 kB / 425 MB, free: 3.434 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.05923, allocations: 236.2 kB / 425.2 MB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007379/0.06661, allocations: 5.178 MB / 430.4 MB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.438e-05/0.06667, allocations: 27.77 kB / 430.4 MB, free: 13.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000233/0.0669, allocations: 119.8 kB / 430.5 MB, free: 13.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002233/0.06913, allocations: 2.467 MB / 433 MB, free: 10.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007303/0.07644, allocations: 3.072 MB / 436.1 MB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.186/0.2624, allocations: 32.04 MB / 468.1 MB, free: 66.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.2649, allocations: 1.25 MB / 469.4 MB, free: 66.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.2653, allocations: 351.7 kB / 469.7 MB, free: 66.71 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004219/0.2657, allocations: 401.8 kB / 470.1 MB, free: 66.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.2658, allocations: 52.45 kB / 470.1 MB, free: 66.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.989e-06/0.2658, allocations: 3.062 kB / 470.2 MB, free: 66.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=191): time 0.0098/0.2756, allocations: 5.468 MB / 475.6 MB, free: 65.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.2756, allocations: 72.88 kB / 475.7 MB, free: 65.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.2779, allocations: 2.47 MB / 478.2 MB, free: 64.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.585e-05/0.2779, allocations: 47.86 kB / 478.2 MB, free: 64.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001082/0.279, allocations: 2.907 MB / 481.1 MB, free: 62.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/0.2794, allocations: 0.7648 MB / 481.9 MB, free: 62.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007469/0.2801, allocations: 1.054 MB / 482.9 MB, free: 61.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.2802, allocations: 0.5327 MB / 483.5 MB, free: 61.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/0.281, allocations: 0.5056 MB / 484 MB, free: 61.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.2829, allocations: 4.749 MB / 488.7 MB, free: 55.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003748/0.2866, allocations: 5.825 MB / 494.5 MB, free: 49.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.261e-05/0.2867, allocations: 27.12 kB / 494.6 MB, free: 49.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.005544/0.2923, allocations: 4.07 MB / 498.6 MB, free: 47.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.2923, allocations: 47.97 kB / 498.7 MB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.2924, allocations: 101.2 kB / 498.8 MB, free: 47.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/0.2928, allocations: 170.6 kB / 499 MB, free: 47.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/0.2949, allocations: 1.076 MB / 0.4883 GB, free: 47.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.296, allocations: 2.041 MB / 0.4903 GB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/0.2979, allocations: 241.4 kB / 0.4905 GB, free: 45.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/0.2983, allocations: 296.4 kB / 0.4908 GB, free: 45.43 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.001244/0.2995, allocations: 0.5418 MB / 0.4913 GB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.2998, allocations: 290 kB / 0.4916 GB, free: 44.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.3014, allocations: 1.355 MB / 0.4929 GB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.3015, allocations: 19.91 kB / 0.493 GB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3015, allocations: 1.406 kB / 0.493 GB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.3015, allocations: 6.844 kB / 0.493 GB, free: 44.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006942/0.3084, allocations: 4.927 MB / 0.4978 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3084, allocations: 8.812 kB / 0.4978 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.3092, allocations: 247.6 kB / 0.498 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001349/0.3093, allocations: 56.95 kB / 0.4981 GB, free: 41.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.144e-05/0.3094, allocations: 42.12 kB / 0.4981 GB, free: 41.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007862/0.3102, allocations: 1.87 MB / 0.4999 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.3102, allocations: 17.25 kB / 0.5 GB, free: 40.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.3125, allocations: 1.948 MB / 0.5019 GB, free: 38.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.3129, allocations: 231.8 kB / 0.5021 GB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.3131, allocations: 35.98 kB / 0.5021 GB, free: 38.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000599/0.3137, allocations: 76.84 kB / 0.5022 GB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.3139, allocations: 122.6 kB / 0.5023 GB, free: 38.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.619e-05/0.3139, allocations: 67.41 kB / 0.5024 GB, free: 38.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001179/0.3151, allocations: 1.05 MB / 0.5034 GB, free: 38.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3151, allocations: 3.938 kB / 0.5034 GB, free: 38.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003584/0.3187, allocations: 0.8318 MB / 0.5042 GB, free: 38.1 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.0004078/0.3191, allocations: 194.7 kB / 0.5044 GB, free: 37.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.3228, allocations: 2.358 MB / 0.5067 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.3228, allocations: 3.188 kB / 0.5067 GB, free: 37.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.3236, allocations: 0.6725 MB / 0.5074 GB, free: 36.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.3248, allocations: 277.8 kB / 0.5076 GB, free: 36.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.3356, allocations: 7.121 MB / 0.5146 GB, free: 32.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/0.3367, allocations: 1.141 MB / 0.5157 GB, free: 31.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002972/0.3397, allocations: 1.44 MB / 0.5171 GB, free: 30.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.3401, allocations: 185.5 kB / 0.5173 GB, free: 30.35 MB / 410.7 MB Notification: Performance of SimCode: time 2.275e-06/0.3401, allocations: 0 / 0.5173 GB, free: 30.35 MB / 410.7 MB Notification: Performance of Templates: time 0.03389/0.3739, allocations: 17.41 MB / 0.5343 GB, free: 17.53 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.9861907539889216]