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.001424/0.001424, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.00169/0.00169, allocations: 164.9 kB / 25.61 MB, free: 8.902 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.9645/0.9645, allocations: 177.1 MB / 206 MB, free: 4.5 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.15/0.15, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.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.603e-06/1.603e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.1e-05, allocations: 6.312 kB / 379.3 MB, free: 23.4 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01015/0.01017, allocations: 11.27 MB / 390.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006666/0.01683, allocations: 4.279 MB / 394.8 MB, free: 7.781 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.01769, allocations: 87.56 kB / 394.9 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002569/0.02026, allocations: 2.916 MB / 397.8 MB, free: 4.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002194/0.02246, allocations: 2.138 MB / 400 MB, free: 2.621 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.02354, allocations: 1.134 MB / 401.1 MB, free: 1.484 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.02759, allocations: 6.104 MB / 407.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.03036, allocations: 3.497 MB / 410.7 MB, free: 7.816 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/0.03334, allocations: 3.302 MB / 414 MB, free: 4.508 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/0.0355, allocations: 2.732 MB / 416.8 MB, free: 1.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003597/0.03586, allocations: 368 kB / 417.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.03719, allocations: 1.35 MB / 418.5 MB, free: 60 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001284/0.03848, allocations: 2.33 MB / 420.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009706/0.03945, allocations: 1.437 MB / 422.2 MB, free: 12.28 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00377/0.04322, allocations: 5.344 MB / 427.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.04322, allocations: 4 kB / 427.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.401e-06/0.04323, allocations: 0 / 427.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.04326, allocations: 0 / 427.6 MB, free: 6.91 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.005934/0.0492, allocations: 5.855 MB / 433.4 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.04923, allocations: 8.031 kB / 433.4 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007159/0.05639, allocations: 2.191 MB / 435.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002544/0.05894, allocations: 2.387 MB / 438 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.05906, allocations: 254.8 kB / 438.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.05947, allocations: 348.3 kB / 438.6 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006794/0.06626, allocations: 6.665 MB / 445.3 MB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.724e-05/0.06635, allocations: 59.52 kB / 445.3 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/0.06664, allocations: 167.8 kB / 445.5 MB, free: 3.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001809/0.06845, allocations: 2.085 MB / 447.6 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005536/0.07399, allocations: 3.155 MB / 450.7 MB, free: 14.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2042/0.2782, allocations: 50.95 MB / 0.4899 GB, free: 72.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007158/0.2853, allocations: 2.619 MB / 0.4925 GB, free: 72.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.2864, allocations: 0.6759 MB / 0.4931 GB, free: 72.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00779/0.2942, allocations: 6.305 MB / 0.4993 GB, free: 70.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/0.2942, allocations: 55.73 kB / 0.4994 GB, free: 70.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.076e-06/0.2942, allocations: 3.562 kB / 0.4994 GB, free: 70.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.04421/0.3384, allocations: 18.07 MB / 0.517 GB, free: 60.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3385, allocations: 197.2 kB / 0.5172 GB, free: 60.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003313/0.3418, allocations: 3.843 MB / 0.5209 GB, free: 57.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002277/0.342, allocations: 49.7 kB / 0.521 GB, free: 57.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.3433, allocations: 3.848 MB / 0.5247 GB, free: 53.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006233/0.3439, allocations: 0.8479 MB / 0.5256 GB, free: 53.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.3451, allocations: 1.484 MB / 0.527 GB, free: 51.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.771e-05/0.3451, allocations: 476.8 kB / 0.5275 GB, free: 51.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.3462, allocations: 0.798 MB / 0.5283 GB, free: 50.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/0.3488, allocations: 6.968 MB / 0.5351 GB, free: 40.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004637/0.3534, allocations: 8.425 MB / 0.5433 GB, free: 30.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.382e-05/0.3535, allocations: 44 kB / 0.5433 GB, free: 30.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.009363/0.3628, allocations: 6.644 MB / 0.5498 GB, free: 23.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.3629, allocations: 71.98 kB / 0.5499 GB, free: 23.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/0.363, allocations: 144 kB / 0.55 GB, free: 23.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004788/0.3678, allocations: 1.765 MB / 0.5517 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.3706, allocations: 1.482 MB / 0.5532 GB, free: 19.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.3774, allocations: 5.479 MB / 0.5585 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/0.3809, allocations: 299.7 kB / 0.5588 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004078/0.3813, allocations: 352 kB / 0.5592 GB, free: 13.73 MB / 410.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.001254/0.3825, allocations: 0.7039 MB / 0.5599 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005596/0.3831, allocations: 429.5 kB / 0.5603 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004799/0.3879, allocations: 2.583 MB / 0.5628 GB, free: 9.992 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.3879, allocations: 24 kB / 0.5628 GB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.3879, allocations: 8 kB / 0.5628 GB, free: 9.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3879, allocations: 15.91 kB / 0.5628 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01194/0.3999, allocations: 7.575 MB / 0.5702 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.3999, allocations: 4 kB / 0.5702 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007123/0.4006, allocations: 235.9 kB / 0.5705 GB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004562/0.4052, allocations: 1.54 MB / 0.572 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.4054, allocations: 39.94 kB / 0.572 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/0.4122, allocations: 4.452 MB / 0.5763 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4122, allocations: 7.938 kB / 0.5764 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007491/0.4197, allocations: 3.675 MB / 0.5799 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/0.4208, allocations: 349.3 kB / 0.5803 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003341/0.4211, allocations: 36 kB / 0.5803 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009107/0.422, allocations: 37.83 kB / 0.5803 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.4223, allocations: 125.1 kB / 0.5805 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.956e-05/0.4224, allocations: 47.98 kB / 0.5805 GB, free: 7.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001725/0.4242, allocations: 1.543 MB / 0.582 GB, free: 6.066 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4242, allocations: 3.5 kB / 0.582 GB, free: 6.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004349/0.4285, allocations: 1.394 MB / 0.5834 GB, free: 4.672 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.0004061/0.4289, allocations: 186.8 kB / 0.5836 GB, free: 4.477 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005176/0.4341, allocations: 3.533 MB / 0.587 GB, free: 0.957 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.4341, allocations: 8.25 kB / 0.587 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.4355, allocations: 1.06 MB / 0.5881 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00192/0.4375, allocations: 449.6 kB / 0.5885 GB, free: 15.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0139/0.4513, allocations: 8.61 MB / 0.5969 GB, free: 6.734 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.4529, allocations: 1.412 MB / 0.5983 GB, free: 5.293 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001722/0.4546, allocations: 0.5374 MB / 0.5988 GB, free: 4.758 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009312/0.4555, allocations: 0.6231 MB / 0.5994 GB, free: 4.133 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4555, allocations: 0 / 0.5994 GB, free: 4.133 MB / 442.7 MB Notification: Performance of Templates: time 0.07207/0.5276, allocations: 54.72 MB / 0.6528 GB, free: 13.79 MB / 0.4948 GB " [Timeout remaining time 659] 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 -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.774330917745829]