Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.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.001448/0.001448, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001112/0.001112, allocations: 165 kB / 23.79 MB, free: 0.7773 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 0.9567/0.9567, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1281/0.1281, allocations: 32.38 MB / 270.4 MB, free: 14.8 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.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.203e-05, allocations: 2.312 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01041/0.01043, allocations: 15.15 MB / 362.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007399/0.01783, allocations: 4.424 MB / 367.3 MB, free: 5.793 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.01887, allocations: 91.62 kB / 367.3 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.02132, allocations: 2.413 MB / 369.8 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.02399, allocations: 2.232 MB / 372 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.02487, allocations: 0.686 MB / 372.7 MB, free: 356 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003424/0.02829, allocations: 4.813 MB / 377.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.03039, allocations: 3.098 MB / 380.6 MB, free: 8.375 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/0.03243, allocations: 2.565 MB / 383.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001912/0.03434, allocations: 2.486 MB / 385.6 MB, free: 3.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003406/0.03468, allocations: 352 kB / 386 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.03589, allocations: 1.022 MB / 387 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001455/0.03734, allocations: 2.205 MB / 389.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009372/0.03828, allocations: 1.378 MB / 390.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003724/0.042, allocations: 5.163 MB / 395.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.04201, allocations: 0 / 395.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.04201, allocations: 0 / 395.8 MB, free: 9.168 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.212e-05/0.04205, allocations: 0 / 395.8 MB, free: 9.168 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: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.005572/0.04762, allocations: 5.825 MB / 401.6 MB, free: 3.273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.04767, allocations: 8.031 kB / 401.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006603/0.05427, allocations: 3.878 MB / 405.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.05696, allocations: 2.242 MB / 407.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.05708, allocations: 262.9 kB / 408 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003963/0.05748, allocations: 344.1 kB / 408.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007406/0.06489, allocations: 6.577 MB / 414.9 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-05/0.06496, allocations: 39.69 kB / 414.9 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/0.06525, allocations: 159.8 kB / 415.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002959/0.06821, allocations: 3 MB / 418.1 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00713/0.07534, allocations: 3.878 MB / 421.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2027/0.2781, allocations: 41.89 MB / 463.8 MB, free: 66.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005989/0.2841, allocations: 1.93 MB / 465.8 MB, free: 66.71 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.2854, allocations: 0.7315 MB / 466.5 MB, free: 66.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.286, allocations: 413.3 kB / 466.9 MB, free: 66.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.286, allocations: 62.61 kB / 467 MB, free: 66.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=250): time 4.418e-06/0.286, allocations: 0 / 467 MB, free: 66.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=268): time 0.02199/0.308, allocations: 11.93 MB / 478.9 MB, free: 64.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.3081, allocations: 100.5 kB / 479 MB, free: 64.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003016/0.3111, allocations: 2.976 MB / 482 MB, free: 64.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.3112, allocations: 60.39 kB / 482 MB, free: 64.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001188/0.3124, allocations: 3.559 MB / 485.6 MB, free: 61.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006282/0.313, allocations: 1.059 MB / 486.6 MB, free: 61.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009952/0.314, allocations: 1.286 MB / 487.9 MB, free: 60.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.225e-05/0.3141, allocations: 484.4 kB / 488.4 MB, free: 59.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.3152, allocations: 0.7627 MB / 489.2 MB, free: 59.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.3177, allocations: 5.787 MB / 495 MB, free: 51.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004777/0.3224, allocations: 7.275 MB / 0.4905 GB, free: 42.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.327e-05/0.3225, allocations: 36 kB / 0.4905 GB, free: 42.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=813) (initialization): time 0.00794/0.3305, allocations: 5.819 MB / 0.4962 GB, free: 37.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.3305, allocations: 56.19 kB / 0.4962 GB, free: 37.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001036/0.3306, allocations: 123 kB / 0.4963 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.3321, allocations: 0.757 MB / 0.4971 GB, free: 36.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.3344, allocations: 1.388 MB / 0.4984 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.3373, allocations: 3.307 MB / 0.5017 GB, free: 31.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/0.3398, allocations: 368.1 kB / 0.502 GB, free: 31.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.3401, allocations: 352 kB / 0.5024 GB, free: 30.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (751): * Single equations (assignments): 744 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001476/0.3416, allocations: 0.6447 MB / 0.503 GB, free: 30.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/0.342, allocations: 381.6 kB / 0.5033 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003467/0.3455, allocations: 2.791 MB / 0.5061 GB, free: 26.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-05/0.3455, allocations: 51.92 kB / 0.5061 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.3456, allocations: 4 kB / 0.5061 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.3456, allocations: 11.97 kB / 0.5061 GB, free: 26.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.356, allocations: 7.892 MB / 0.5138 GB, free: 18.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/0.356, allocations: 17.86 kB / 0.5139 GB, free: 18.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/0.357, allocations: 423.3 kB / 0.5143 GB, free: 18.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.3584, allocations: 0.5957 MB / 0.5148 GB, free: 17.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.3585, allocations: 62.64 kB / 0.5149 GB, free: 17.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/0.3608, allocations: 2.686 MB / 0.5175 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.3608, allocations: 19.88 kB / 0.5175 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004677/0.3655, allocations: 3.577 MB / 0.521 GB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/0.3667, allocations: 0.6032 MB / 0.5216 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/0.367, allocations: 58.66 kB / 0.5217 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008521/0.3679, allocations: 187.7 kB / 0.5219 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002264/0.3681, allocations: 173.4 kB / 0.522 GB, free: 9.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.3682, allocations: 78.64 kB / 0.5221 GB, free: 9.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00151/0.3697, allocations: 1.256 MB / 0.5233 GB, free: 8.527 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3697, allocations: 0 / 0.5233 GB, free: 8.527 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003835/0.3736, allocations: 1.195 MB / 0.5245 GB, free: 7.332 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000448/0.374, allocations: 226.5 kB / 0.5247 GB, free: 7.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004701/0.3787, allocations: 3.35 MB / 0.528 GB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.3787, allocations: 0 / 0.528 GB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.3801, allocations: 1.094 MB / 0.5291 GB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.3818, allocations: 350.9 kB / 0.5294 GB, free: 2.316 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01319/0.395, allocations: 9.566 MB / 0.5387 GB, free: 8.484 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/0.3967, allocations: 1.472 MB / 0.5402 GB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003029/0.3997, allocations: 1.774 MB / 0.5419 GB, free: 5.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006583/0.4003, allocations: 240.5 kB / 0.5421 GB, free: 4.977 MB / 394.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4003, allocations: 0 / 0.5421 GB, free: 4.977 MB / 394.7 MB Notification: Performance of Templates: time 0.04655/0.4469, allocations: 30.61 MB / 0.572 GB, free: 6.52 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.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: 4.372813692782074]