Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001087/0.001087, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001297/0.001297, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.214/0.214, allocations: 44.18 MB / 336.6 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 68.64 kB / 408.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1159, allocations: 60.83 MB / 469.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01338/0.1293, allocations: 11.96 MB / 481.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00832/0.1377, allocations: 4.371 MB / 485.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.1394, allocations: 71.81 kB / 485.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005387/0.1448, allocations: 2.76 MB / 488.4 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005751/0.1506, allocations: 2.035 MB / 490.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.1532, allocations: 1.01 MB / 491.5 MB, free: 8.047 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007062/0.1603, allocations: 5.29 MB / 496.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.1658, allocations: 3.44 MB / 0.4885 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003515/0.1693, allocations: 1.756 MB / 0.4902 GB, free: 13.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004441/0.1738, allocations: 2.442 MB / 0.4926 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.1751, allocations: 371.9 kB / 0.4929 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003686/0.1788, allocations: 1.416 MB / 0.4943 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003423/0.1823, allocations: 2.198 MB / 0.4964 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005548/0.1878, allocations: 2.501 MB / 0.4989 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2731/0.461, allocations: 7.804 MB / 0.5065 GB, free: 23.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/0.4611, allocations: 0 / 0.5065 GB, free: 23.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4611, allocations: 1.062 kB / 0.5065 GB, free: 23.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004893/0.4616, allocations: 0 / 0.5065 GB, free: 23.3 MB / 382.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.0184/0.48, allocations: 5.753 MB / 0.5121 GB, free: 21.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4801, allocations: 13.81 kB / 0.5121 GB, free: 21.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01737/0.4974, allocations: 2.591 MB / 0.5147 GB, free: 20.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009504/0.507, allocations: 3.148 MB / 0.5177 GB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/0.5074, allocations: 254.2 kB / 0.518 GB, free: 20.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/0.5102, allocations: 351.5 kB / 0.5183 GB, free: 20.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.5397, allocations: 12.35 MB / 0.5304 GB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003551/0.5401, allocations: 57.09 kB / 0.5304 GB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/0.5422, allocations: 167.9 kB / 0.5306 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003606/0.5458, allocations: 2.379 MB / 0.5329 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02067/0.5665, allocations: 10.83 MB / 0.5435 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07371/0.6402, allocations: 48.8 MB / 0.5912 GB, free: 5.168 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01721/0.6575, allocations: 6.043 MB / 0.5971 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005452/0.663, allocations: 3.297 MB / 0.6003 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02414/0.6871, allocations: 13.52 MB / 0.6135 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/0.6872, allocations: 65.02 kB / 0.6136 GB, free: 13.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=204): time 5.851e-06/0.6873, allocations: 1.422 kB / 0.6136 GB, free: 13.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.1125/0.7998, allocations: 36.29 MB / 0.649 GB, free: 9.488 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.8, allocations: 213.9 kB / 0.6492 GB, free: 9.234 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007784/0.8078, allocations: 4.364 MB / 0.6535 GB, free: 4.848 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008982/0.8087, allocations: 61.7 kB / 0.6535 GB, free: 4.781 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002468/0.8112, allocations: 3.381 MB / 0.6568 GB, free: 1.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.8125, allocations: 0.984 MB / 0.6578 GB, free: 456 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002034/0.8145, allocations: 1.419 MB / 0.6592 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.8147, allocations: 309.1 kB / 0.6595 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004776/0.8194, allocations: 3.285 MB / 0.6627 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007189/0.8266, allocations: 7.2 MB / 0.6697 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/0.8402, allocations: 11.24 MB / 0.6807 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/0.8404, allocations: 40 kB / 0.6807 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02907/0.8695, allocations: 13.26 MB / 0.6937 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.8697, allocations: 68.16 kB / 0.6937 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001753/0.8698, allocations: 140 kB / 0.6939 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.8799, allocations: 3.41 MB / 0.6972 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005811/0.8858, allocations: 1.578 MB / 0.6987 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2417/1.127, allocations: 17.55 MB / 0.7159 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00641/1.134, allocations: 433.3 kB / 0.7163 GB, free: 179.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/1.135, allocations: 414.4 kB / 0.7167 GB, free: 179.3 MB / 0.5294 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.003553/1.139, allocations: 2.347 MB / 0.719 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007477/1.139, allocations: 403.6 kB / 0.7194 GB, free: 178.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.153, allocations: 8.003 MB / 0.7272 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-05/1.153, allocations: 33.64 kB / 0.7272 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-05/1.153, allocations: 11.28 kB / 0.7272 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/1.153, allocations: 15.55 kB / 0.7272 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02503/1.178, allocations: 15.54 MB / 0.7424 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.408e-05/1.178, allocations: 4 kB / 0.7424 GB, free: 167.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/1.18, allocations: 381.5 kB / 0.7428 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008156/1.188, allocations: 3.174 MB / 0.7459 GB, free: 164.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005091/1.189, allocations: 47.98 kB / 0.7459 GB, free: 164.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/1.206, allocations: 15.76 MB / 0.7613 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/1.206, allocations: 3.938 kB / 0.7613 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/1.224, allocations: 12.14 MB / 0.7732 GB, free: 136.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.225, allocations: 450.5 kB / 0.7736 GB, free: 136.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006244/1.226, allocations: 42.12 kB / 0.7736 GB, free: 136 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.228, allocations: 183.7 kB / 0.7738 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006622/1.229, allocations: 158.2 kB / 0.774 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.229, allocations: 66.47 kB / 0.774 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003551/1.232, allocations: 2.733 MB / 0.7767 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/1.232, allocations: 0 / 0.7767 GB, free: 132.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005882/1.238, allocations: 1.361 MB / 0.778 GB, free: 131.5 MB / 0.5294 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.0004525/1.239, allocations: 189.2 kB / 0.7782 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01454/1.253, allocations: 10.94 MB / 0.7889 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/1.253, allocations: 0 / 0.7889 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004099/1.257, allocations: 3.322 MB / 0.7921 GB, free: 117.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/1.26, allocations: 0.4989 MB / 0.7926 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.276, allocations: 11.99 MB / 0.8043 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002946/1.279, allocations: 3.67 MB / 0.8079 GB, free: 101 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004544/1.283, allocations: 2.176 MB / 0.81 GB, free: 98.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008958/1.284, allocations: 283.4 kB / 0.8103 GB, free: 98.5 MB / 0.5294 GB Notification: Performance of SimCode: time 7.11e-07/1.284, allocations: 0 / 0.8103 GB, free: 98.5 MB / 0.5294 GB Notification: Performance of Templates: time 0.09001/1.374, allocations: 60.4 MB / 0.8693 GB, free: 38.36 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches