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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001635, allocations: 105.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 192.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.863/1.863, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2428/0.2428, allocations: 43.52 MB / 314.1 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 65.47 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1457, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01391/0.1597, allocations: 12.01 MB / 0.4996 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.1703, allocations: 4.383 MB / 0.5039 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003132/0.1735, allocations: 71.81 kB / 0.504 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0061/0.1796, allocations: 2.764 MB / 0.5067 GB, free: 8.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007073/0.1868, allocations: 2.035 MB / 0.5087 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002823/0.1897, allocations: 1.014 MB / 0.5097 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009342/0.199, allocations: 5.131 MB / 0.5147 GB, free: 272 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005352/0.2044, allocations: 3.436 MB / 0.518 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003706/0.2082, allocations: 1.768 MB / 0.5197 GB, free: 11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005024/0.2132, allocations: 2.453 MB / 0.5221 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.2147, allocations: 368 kB / 0.5225 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.2179, allocations: 1.412 MB / 0.5239 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002961/0.2209, allocations: 2.225 MB / 0.526 GB, free: 4.539 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.2242, allocations: 2.505 MB / 0.5285 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3647/0.5889, allocations: 8.073 MB / 0.5364 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.589, allocations: 1.062 kB / 0.5364 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.589, allocations: 0 / 0.5364 GB, free: 15.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004176/0.5894, allocations: 0 / 0.5364 GB, free: 15.89 MB / 414.1 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.02256/0.612, allocations: 5.756 MB / 0.542 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.6121, allocations: 14.42 kB / 0.542 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01978/0.6319, allocations: 2.594 MB / 0.5445 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.643, allocations: 3.311 MB / 0.5478 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/0.6435, allocations: 264.1 kB / 0.548 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/0.646, allocations: 339.6 kB / 0.5483 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03006/0.6761, allocations: 12.37 MB / 0.5604 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/0.6763, allocations: 45.31 kB / 0.5605 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007057/0.677, allocations: 167.2 kB / 0.5606 GB, free: 8.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003962/0.681, allocations: 2.383 MB / 0.563 GB, free: 7.887 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02278/0.7038, allocations: 10.84 MB / 0.5735 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08022/0.7841, allocations: 48.62 MB / 0.621 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01662/0.8007, allocations: 6.035 MB / 0.6269 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004893/0.8057, allocations: 3.312 MB / 0.6302 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02507/0.8308, allocations: 13.52 MB / 0.6434 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.946e-05/0.8309, allocations: 55.86 kB / 0.6434 GB, free: 9.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 5.34e-06/0.8309, allocations: 0 / 0.6434 GB, free: 9.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1321/0.963, allocations: 36.33 MB / 0.6789 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.9632, allocations: 209.9 kB / 0.6791 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/0.9741, allocations: 4.387 MB / 0.6834 GB, free: 236 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001286/0.9755, allocations: 72.58 kB / 0.6835 GB, free: 164 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003597/0.9791, allocations: 3.38 MB / 0.6868 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002346/0.9814, allocations: 0.9797 MB / 0.6877 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004708/0.9862, allocations: 1.426 MB / 0.6891 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.9863, allocations: 301.1 kB / 0.6894 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005969/0.9923, allocations: 3.289 MB / 0.6926 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01022/1.003, allocations: 7.206 MB / 0.6996 GB, free: 13.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01722/1.02, allocations: 11.23 MB / 0.7106 GB, free: 1.156 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001544/1.02, allocations: 40 kB / 0.7106 GB, free: 1.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03467/1.055, allocations: 13.27 MB / 0.7236 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002239/1.055, allocations: 67.94 kB / 0.7237 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003309/1.055, allocations: 136 kB / 0.7238 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/1.067, allocations: 3.402 MB / 0.7271 GB, free: 492 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008411/1.076, allocations: 1.579 MB / 0.7287 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03342/1.109, allocations: 17.55 MB / 0.7458 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009091/1.118, allocations: 431.5 kB / 0.7462 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002455/1.121, allocations: 408 kB / 0.7466 GB, free: 12.39 MB / 0.5919 GB 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 (841): * Single equations (assignments): 837 * 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,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007916/1.129, allocations: 2.353 MB / 0.7489 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/1.131, allocations: 406.7 kB / 0.7493 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02/1.151, allocations: 8.006 MB / 0.7571 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.686e-05/1.151, allocations: 28 kB / 0.7571 GB, free: 1.57 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.12e-05/1.151, allocations: 12 kB / 0.7571 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.09e-05/1.151, allocations: 11.95 kB / 0.7572 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4512/1.602, allocations: 15.38 MB / 0.7722 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/1.602, allocations: 3.125 kB / 0.7722 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.604, allocations: 388.3 kB / 0.7725 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01042/1.615, allocations: 3.165 MB / 0.7756 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007699/1.615, allocations: 50.14 kB / 0.7757 GB, free: 207.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/1.638, allocations: 15.81 MB / 0.7911 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/1.639, allocations: 3.906 kB / 0.7911 GB, free: 200.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02203/1.661, allocations: 12.14 MB / 0.803 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003537/1.664, allocations: 0.9397 MB / 0.8039 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001601/1.666, allocations: 42.62 kB / 0.8039 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003192/1.669, allocations: 191.7 kB / 0.8041 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007675/1.67, allocations: 150.2 kB / 0.8043 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003653/1.67, allocations: 72.38 kB / 0.8043 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006235/1.676, allocations: 2.745 MB / 0.807 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.41e-07/1.676, allocations: 0 / 0.807 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01017/1.687, allocations: 1.371 MB / 0.8084 GB, free: 186.4 MB / 0.5919 GB 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.001219/1.688, allocations: 178.7 kB / 0.8085 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01448/1.702, allocations: 8.219 MB / 0.8166 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/1.702, allocations: 0 / 0.8166 GB, free: 178.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005361/1.708, allocations: 3.321 MB / 0.8198 GB, free: 174.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005142/1.713, allocations: 0.5038 MB / 0.8203 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/1.738, allocations: 11.91 MB / 0.8319 GB, free: 162.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008039/1.746, allocations: 3.673 MB / 0.8355 GB, free: 158.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007797/1.754, allocations: 2.18 MB / 0.8376 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/1.757, allocations: 283.4 kB / 0.8379 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/1.757, allocations: 0 / 0.8379 GB, free: 156.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.09776/1.854, allocations: 57.52 MB / 0.8941 GB, free: 98.96 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches