Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.001099/0.001099, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001081/0.001081, allocations: 165 kB / 23.8 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.9381/0.9381, allocations: 158.6 MB / 185.7 MB, free: 2.93 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.1376/0.1376, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.774e-05, allocations: 13.28 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.008079/0.008107, allocations: 11.63 MB / 359.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007464/0.01557, allocations: 4.314 MB / 363.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001701/0.01727, allocations: 87.56 kB / 363.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004499/0.02177, allocations: 2.963 MB / 366.7 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005304/0.02707, allocations: 2.185 MB / 368.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.02905, allocations: 1.119 MB / 370 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006774/0.03583, allocations: 5.811 MB / 375.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004957/0.04078, allocations: 3.513 MB / 379.3 MB, free: 9.664 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004656/0.04544, allocations: 2.732 MB / 382 MB, free: 6.926 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003554/0.04899, allocations: 2.802 MB / 384.8 MB, free: 4.117 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000654/0.04965, allocations: 376 kB / 385.2 MB, free: 3.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.05151, allocations: 1.377 MB / 386.6 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001767/0.05327, allocations: 2.384 MB / 389 MB, free: 15.98 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.05473, allocations: 1.468 MB / 390.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005983/0.06071, allocations: 5.457 MB / 395.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.06072, allocations: 0 / 395.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.06072, allocations: 0 / 395.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001201/0.06084, allocations: 0 / 395.9 MB, free: 9.031 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.007604/0.06844, allocations: 6.273 MB / 402.2 MB, free: 2.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.06849, allocations: 16.03 kB / 402.2 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009166/0.07766, allocations: 3.153 MB / 405.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004669/0.08233, allocations: 2.875 MB / 408.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.08249, allocations: 262.8 kB / 408.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005515/0.08304, allocations: 348.3 kB / 408.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.09418, allocations: 7.642 MB / 416.5 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.09429, allocations: 43.64 kB / 416.5 MB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003074/0.09459, allocations: 163.8 kB / 416.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002259/0.09685, allocations: 2.381 MB / 419 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01055/0.1074, allocations: 4.437 MB / 423.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2167/0.3241, allocations: 51.27 MB / 474.7 MB, free: 43.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009613/0.3337, allocations: 3.412 MB / 478.2 MB, free: 43.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001878/0.3356, allocations: 1.021 MB / 479.2 MB, free: 43.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/0.3458, allocations: 7.872 MB / 487 MB, free: 41.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.069e-05/0.3459, allocations: 62.48 kB / 487.1 MB, free: 41.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=204): time 5.721e-06/0.3459, allocations: 0 / 487.1 MB, free: 41.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=265): time 0.05233/0.3982, allocations: 26.01 MB / 0.5011 GB, free: 25.44 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.3983, allocations: 209.3 kB / 0.5013 GB, free: 25.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003815/0.4021, allocations: 3.751 MB / 0.505 GB, free: 21.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000474/0.4026, allocations: 65.69 kB / 0.505 GB, free: 21.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.404, allocations: 3.681 MB / 0.5086 GB, free: 18.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009148/0.4049, allocations: 1.066 MB / 0.5097 GB, free: 17.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001312/0.4062, allocations: 1.492 MB / 0.5111 GB, free: 15.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.597e-05/0.4063, allocations: 476.8 kB / 0.5116 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.4079, allocations: 1.048 MB / 0.5126 GB, free: 14.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003304/0.4112, allocations: 6.879 MB / 0.5193 GB, free: 4.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006748/0.418, allocations: 8.739 MB / 0.5278 GB, free: 9.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.08e-05/0.4181, allocations: 40 kB / 0.5279 GB, free: 9.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01405/0.4321, allocations: 8.277 MB / 0.536 GB, free: 2.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.938e-05/0.4322, allocations: 64 kB / 0.536 GB, free: 1.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001629/0.4324, allocations: 136 kB / 0.5362 GB, free: 1.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005994/0.4384, allocations: 2.669 MB / 0.5388 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003829/0.4422, allocations: 1.579 MB / 0.5403 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0095/0.4517, allocations: 6.712 MB / 0.5469 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/0.4559, allocations: 0.4993 MB / 0.5473 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008124/0.4567, allocations: 408 kB / 0.5477 GB, free: 5.867 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * Array equations: 3 * 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,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001642/0.4584, allocations: 0.7128 MB / 0.5484 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008369/0.4592, allocations: 459 kB / 0.5489 GB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007641/0.4668, allocations: 4.288 MB / 0.5531 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.215e-05/0.4669, allocations: 32 kB / 0.5531 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.236e-05/0.4669, allocations: 15.98 kB / 0.5531 GB, free: 348 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.4669, allocations: 7.969 kB / 0.5531 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/0.485, allocations: 9.326 MB / 0.5622 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.485, allocations: 0 / 0.5622 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.4864, allocations: 383.5 kB / 0.5626 GB, free: 6.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005897/0.4923, allocations: 2.441 MB / 0.565 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004535/0.4927, allocations: 51.92 kB / 0.565 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00867/0.5014, allocations: 5.791 MB / 0.5707 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.5014, allocations: 0 / 0.5707 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009675/0.5111, allocations: 5.55 MB / 0.5761 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/0.5131, allocations: 0.8252 MB / 0.5769 GB, free: 7.809 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004964/0.5136, allocations: 40 kB / 0.5769 GB, free: 7.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.515, allocations: 263.6 kB / 0.5772 GB, free: 7.512 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004752/0.5154, allocations: 166.1 kB / 0.5773 GB, free: 7.348 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/0.5156, allocations: 67.98 kB / 0.5774 GB, free: 7.281 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002273/0.5179, allocations: 1.635 MB / 0.579 GB, free: 5.664 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5179, allocations: 0 / 0.579 GB, free: 5.664 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005728/0.5236, allocations: 1.51 MB / 0.5805 GB, free: 4.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * Array equations: 3 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007962/0.5244, allocations: 201.7 kB / 0.5807 GB, free: 3.957 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008875/0.5333, allocations: 4.403 MB / 0.585 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.5333, allocations: 4.312 kB / 0.585 GB, free: 15.55 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002837/0.5361, allocations: 1.746 MB / 0.5867 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/0.5386, allocations: 462.8 kB / 0.5871 GB, free: 13.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.5553, allocations: 9.402 MB / 0.5963 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.557, allocations: 1.454 MB / 0.5977 GB, free: 2.391 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003338/0.5603, allocations: 1.779 MB / 0.5995 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000891/0.5612, allocations: 276.4 kB / 0.5997 GB, free: 344 kB / 458.7 MB Notification: Performance of SimCode: time 3.016e-06/0.5612, allocations: 0 / 0.5997 GB, free: 344 kB / 458.7 MB Notification: Performance of Templates: time 0.2268/0.788, allocations: 57.44 MB / 0.6558 GB, free: 143.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.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.890425152145326]