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.00156/0.00156, allocations: 117.5 kB / 17.08 MB, free: 6.016 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.001526/0.001526, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.573/1.573, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2215/0.2215, allocations: 43.52 MB / 314.8 MB, free: 468 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.002777/0.002777, allocations: 75.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1196, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01867/0.1383, allocations: 12.02 MB / 0.5003 GB, free: 15.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.1502, allocations: 4.383 MB / 0.5046 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002841/0.1531, allocations: 67.81 kB / 0.5046 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00627/0.1594, allocations: 2.756 MB / 0.5073 GB, free: 8.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005699/0.1652, allocations: 2.039 MB / 0.5093 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.1676, allocations: 1.014 MB / 0.5103 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007668/0.1753, allocations: 5.135 MB / 0.5153 GB, free: 288 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005426/0.1807, allocations: 3.44 MB / 0.5187 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003448/0.1842, allocations: 1.76 MB / 0.5204 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004092/0.1883, allocations: 2.461 MB / 0.5228 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.1897, allocations: 368 kB / 0.5232 GB, free: 8.195 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.1933, allocations: 1.408 MB / 0.5245 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002948/0.1963, allocations: 2.225 MB / 0.5267 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00422/0.2005, allocations: 2.513 MB / 0.5292 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2588/0.4593, allocations: 8.067 MB / 0.537 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4594, allocations: 1.188 kB / 0.537 GB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4594, allocations: 0 / 0.537 GB, free: 15.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003716/0.4598, allocations: 0 / 0.537 GB, free: 15.92 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.0193/0.4791, allocations: 5.755 MB / 0.5427 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4791, allocations: 14.61 kB / 0.5427 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01819/0.4973, allocations: 2.597 MB / 0.5452 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009105/0.5065, allocations: 3.307 MB / 0.5484 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002745/0.5068, allocations: 258 kB / 0.5487 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/0.509, allocations: 354.4 kB / 0.549 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02877/0.5377, allocations: 12.36 MB / 0.5611 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/0.538, allocations: 51.91 kB / 0.5611 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006411/0.5386, allocations: 163.3 kB / 0.5613 GB, free: 8.746 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003693/0.5423, allocations: 2.381 MB / 0.5636 GB, free: 7.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/0.5635, allocations: 10.84 MB / 0.5742 GB, free: 1.914 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06578/0.6293, allocations: 48.62 MB / 0.6217 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01599/0.6454, allocations: 6.041 MB / 0.6276 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004491/0.6499, allocations: 3.301 MB / 0.6308 GB, free: 7.117 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02037/0.6703, allocations: 13.52 MB / 0.644 GB, free: 9.371 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/0.6704, allocations: 59.88 kB / 0.6441 GB, free: 9.305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 6.091e-06/0.6704, allocations: 0 / 0.6441 GB, free: 9.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.12/0.7904, allocations: 36.34 MB / 0.6796 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.7907, allocations: 213.1 kB / 0.6798 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/0.8012, allocations: 4.384 MB / 0.684 GB, free: 248 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001131/0.8024, allocations: 69.7 kB / 0.6841 GB, free: 172 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003586/0.806, allocations: 3.372 MB / 0.6874 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00214/0.8082, allocations: 0.9894 MB / 0.6884 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005513/0.8137, allocations: 1.423 MB / 0.6898 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8138, allocations: 305.1 kB / 0.6901 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006519/0.8204, allocations: 3.281 MB / 0.6933 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009979/0.8304, allocations: 7.207 MB / 0.7003 GB, free: 13.76 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/0.8464, allocations: 11.23 MB / 0.7113 GB, free: 1.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/0.8466, allocations: 40 kB / 0.7113 GB, free: 1.129 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03164/0.8783, allocations: 13.27 MB / 0.7243 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.8785, allocations: 72.19 kB / 0.7243 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002341/0.8787, allocations: 136 kB / 0.7245 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/0.8896, allocations: 3.406 MB / 0.7278 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006227/0.8958, allocations: 1.571 MB / 0.7293 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02728/0.9231, allocations: 17.54 MB / 0.7464 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006298/0.9295, allocations: 431.5 kB / 0.7469 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/0.9312, allocations: 412 kB / 0.7473 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.006192/0.9374, allocations: 2.356 MB / 0.7496 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/0.9387, allocations: 410.7 kB / 0.7499 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01859/0.9573, allocations: 8.002 MB / 0.7578 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.023e-05/0.9574, allocations: 31.89 kB / 0.7578 GB, free: 1.566 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-05/0.9574, allocations: 12 kB / 0.7578 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-05/0.9575, allocations: 11.95 kB / 0.7578 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3474/1.305, allocations: 15.38 MB / 0.7728 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.372e-05/1.305, allocations: 4.781 kB / 0.7728 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/1.308, allocations: 387.9 kB / 0.7732 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01335/1.322, allocations: 3.163 MB / 0.7763 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009757/1.323, allocations: 52.31 kB / 0.7763 GB, free: 207.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02388/1.347, allocations: 15.8 MB / 0.7918 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.347, allocations: 0 / 0.7918 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02186/1.369, allocations: 12.14 MB / 0.8036 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003383/1.372, allocations: 0.9432 MB / 0.8046 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002075/1.374, allocations: 39.94 kB / 0.8046 GB, free: 190.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003645/1.378, allocations: 194.2 kB / 0.8048 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00101/1.379, allocations: 157.1 kB / 0.8049 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004692/1.379, allocations: 67.98 kB / 0.805 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006055/1.385, allocations: 2.749 MB / 0.8077 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.7e-07/1.385, allocations: 0 / 0.8077 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009837/1.395, allocations: 1.366 MB / 0.809 GB, free: 186.3 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.001339/1.397, allocations: 181.6 kB / 0.8092 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01413/1.411, allocations: 8.217 MB / 0.8172 GB, free: 178 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.411, allocations: 0 / 0.8172 GB, free: 178 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005758/1.417, allocations: 3.329 MB / 0.8205 GB, free: 174.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005822/1.422, allocations: 0.4972 MB / 0.8209 GB, free: 174.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/1.449, allocations: 12.36 MB / 0.833 GB, free: 162 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004544/1.454, allocations: 3.655 MB / 0.8366 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/1.456, allocations: 331.4 kB / 0.8369 GB, free: 158 MB / 0.5919 GB Notification: Performance of SimCode: time 1.813e-06/1.456, allocations: 0 / 0.8369 GB, free: 158 MB / 0.5919 GB Notification: Performance of Templates: time 0.1126/1.568, allocations: 93.17 MB / 0.9279 GB, free: 64.67 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/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