Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001473/0.001473, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001945/0.001945, allocations: 169.9 kB / 24.91 MB, free: 9.195 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 1.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2917/0.2917, allocations: 34.26 MB / 296.1 MB, free: 0.6523 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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.677e-05, allocations: 2.312 kB / 325.3 MB, free: 7.609 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01448/0.01451, allocations: 11.33 MB / 336.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01211/0.02662, allocations: 4.438 MB / 341.1 MB, free: 7.766 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.0289, allocations: 87.56 kB / 341.2 MB, free: 7.68 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004756/0.03365, allocations: 2.904 MB / 344.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00443/0.03808, allocations: 2.154 MB / 346.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.03958, allocations: 1.107 MB / 347.3 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004818/0.0444, allocations: 6.095 MB / 353.4 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.04722, allocations: 3.357 MB / 356.8 MB, free: 7.957 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003291/0.05051, allocations: 3.216 MB / 360 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.05305, allocations: 2.607 MB / 362.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005266/0.05358, allocations: 372 kB / 363 MB, free: 1.758 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.05522, allocations: 1.381 MB / 364.3 MB, free: 384 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.05657, allocations: 2.349 MB / 366.7 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.05767, allocations: 1.425 MB / 368.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003719/0.06138, allocations: 5.348 MB / 373.5 MB, free: 7.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.06139, allocations: 0 / 373.5 MB, free: 7.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.06139, allocations: 0 / 373.5 MB, free: 7.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.859e-05/0.06145, allocations: 7.938 kB / 373.5 MB, free: 7.215 MB / 346.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.005089/0.06654, allocations: 5.204 MB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.06657, allocations: 8.031 kB / 378.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003653/0.07022, allocations: 1.234 MB / 379.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/0.07287, allocations: 2.217 MB / 382.1 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.07299, allocations: 254.8 kB / 382.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003902/0.07338, allocations: 348.3 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006095/0.07947, allocations: 5.935 MB / 388.7 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-05/0.07956, allocations: 55.55 kB / 388.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.07984, allocations: 167.8 kB / 388.9 MB, free: 6.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.08146, allocations: 2.088 MB / 391 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005168/0.08663, allocations: 3.089 MB / 394.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02415/0.1108, allocations: 36.96 MB / 431 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005004/0.1158, allocations: 2.428 MB / 433.4 MB, free: 8.828 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.1164, allocations: 0.5379 MB / 434 MB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006276/0.1227, allocations: 5.534 MB / 439.5 MB, free: 2.715 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.1227, allocations: 55.5 kB / 439.6 MB, free: 2.652 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.156e-06/0.1227, allocations: 0 / 439.6 MB, free: 2.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.03662/0.1593, allocations: 15.87 MB / 455.4 MB, free: 2.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/0.1594, allocations: 201.2 kB / 455.6 MB, free: 2.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1728/0.3322, allocations: 3.451 MB / 459.1 MB, free: 125.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005439/0.3328, allocations: 54.45 kB / 459.1 MB, free: 125.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/0.3345, allocations: 3.418 MB / 462.6 MB, free: 124.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007748/0.3353, allocations: 0.8174 MB / 463.4 MB, free: 123.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.3365, allocations: 1.274 MB / 464.7 MB, free: 123.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.736e-05/0.3365, allocations: 304.4 kB / 464.9 MB, free: 123.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.3381, allocations: 0.9642 MB / 465.9 MB, free: 123.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.3408, allocations: 4.973 MB / 470.9 MB, free: 117.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/0.3453, allocations: 6.485 MB / 477.4 MB, free: 112.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.27e-05/0.3454, allocations: 43.72 kB / 477.4 MB, free: 112.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.007914/0.3533, allocations: 5.736 MB / 483.1 MB, free: 111.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.34e-05/0.3533, allocations: 64.56 kB / 483.2 MB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.756e-05/0.3534, allocations: 146.1 kB / 483.4 MB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/0.3575, allocations: 1.755 MB / 485.1 MB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002207/0.3597, allocations: 1.545 MB / 486.7 MB, free: 108.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/0.3658, allocations: 4.73 MB / 491.4 MB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.3685, allocations: 290.3 kB / 491.7 MB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002768/0.3688, allocations: 347.9 kB / 492 MB, free: 104.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (825): * Single equations (assignments): 821 * 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 {(2,41,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001214/0.37, allocations: 0.6715 MB / 492.7 MB, free: 103.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.3704, allocations: 253 kB / 492.9 MB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004145/0.3745, allocations: 2.336 MB / 495.3 MB, free: 101 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.3745, allocations: 24 kB / 495.3 MB, free: 101 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.3745, allocations: 8 kB / 495.3 MB, free: 101 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.3745, allocations: 11.91 kB / 495.3 MB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008975/0.3835, allocations: 6.552 MB / 0.4901 GB, free: 94.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.3835, allocations: 6.25 kB / 0.4901 GB, free: 94.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006145/0.3841, allocations: 259.7 kB / 0.4903 GB, free: 94.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003898/0.388, allocations: 1.713 MB / 0.492 GB, free: 92.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.3882, allocations: 36 kB / 0.4921 GB, free: 92.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/0.3933, allocations: 3.734 MB / 0.4957 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3933, allocations: 0 / 0.4957 GB, free: 88.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005007/0.3983, allocations: 3.208 MB / 0.4988 GB, free: 85.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/0.3989, allocations: 341.4 kB / 0.4992 GB, free: 85.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002779/0.3992, allocations: 32 kB / 0.4992 GB, free: 85.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007569/0.3999, allocations: 43.98 kB / 0.4992 GB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002759/0.4002, allocations: 136.7 kB / 0.4994 GB, free: 84.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.264e-05/0.4003, allocations: 32 kB / 0.4994 GB, free: 84.94 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.4013, allocations: 1.278 MB / 0.5006 GB, free: 83.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4013, allocations: 0 / 0.5006 GB, free: 83.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003725/0.4051, allocations: 1.402 MB / 0.502 GB, free: 82.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (147): * Single equations (assignments): 143 * 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 {(2,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003485/0.4054, allocations: 157.1 kB / 0.5022 GB, free: 82.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003396/0.4088, allocations: 3.178 MB / 0.5053 GB, free: 78.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000137/0.4089, allocations: 104.2 kB / 0.5054 GB, free: 78.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009821/0.4099, allocations: 0.8911 MB / 0.5062 GB, free: 77.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.4118, allocations: 0.6697 MB / 0.5069 GB, free: 77.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4225, allocations: 8.5 MB / 0.5152 GB, free: 68.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.4238, allocations: 1.4 MB / 0.5166 GB, free: 67.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001537/0.4254, allocations: 0.5296 MB / 0.5171 GB, free: 66.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.4264, allocations: 0.5871 MB / 0.5176 GB, free: 66.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4264, allocations: 3.5 kB / 0.5177 GB, free: 66.16 MB / 426.7 MB Notification: Performance of Templates: time 0.06409/0.4905, allocations: 53.35 MB / 0.5698 GB, free: 13.14 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.3319345489144325]