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.001655/0.001655, allocations: 102.1 kB / 15.98 MB, free: 6.352 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.001657/0.001657, allocations: 194.7 kB / 16.91 MB, free: 6.191 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.837/1.837, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4616/0.4616, allocations: 43.49 MB / 313.6 MB, free: 8.301 MB / 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.001495/0.001495, allocations: 67.89 kB / 382.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1646, allocations: 57.78 MB / 440 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.3329/0.4975, allocations: 43.46 MB / 483.5 MB, free: 24.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02655/0.5241, allocations: 9.536 MB / 493 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01466/0.5388, allocations: 186.7 kB / 493.2 MB, free: 18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006107/0.545, allocations: 2.656 MB / 495.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007342/0.5524, allocations: 1.894 MB / 497.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.555, allocations: 0.9474 MB / 498.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008974/0.564, allocations: 5.262 MB / 0.4921 GB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006978/0.571, allocations: 3.624 MB / 0.4957 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005344/0.5764, allocations: 1.805 MB / 0.4974 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006085/0.5825, allocations: 2.718 MB / 0.5001 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001559/0.5841, allocations: 367.7 kB / 0.5004 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004729/0.5888, allocations: 1.432 MB / 0.5018 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004568/0.5934, allocations: 2.242 MB / 0.504 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00664/0.6001, allocations: 2.53 MB / 0.5065 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02241/0.6225, allocations: 7.862 MB / 0.5142 GB, free: 3.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.6226, allocations: 0 / 0.5142 GB, free: 3.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6226, allocations: 1.281 kB / 0.5142 GB, free: 3.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004375/0.6231, allocations: 4 kB / 0.5142 GB, free: 3.238 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.02807/0.6512, allocations: 5.77 MB / 0.5198 GB, free: 15.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.256e-05/0.6513, allocations: 17.8 kB / 0.5198 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02791/0.6792, allocations: 2.597 MB / 0.5224 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.6931, allocations: 3.252 MB / 0.5255 GB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000405/0.6936, allocations: 258.8 kB / 0.5258 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002722/0.6963, allocations: 348 kB / 0.5261 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03668/0.733, allocations: 12.36 MB / 0.5382 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004565/0.7335, allocations: 55.44 kB / 0.5382 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002488/0.736, allocations: 163.8 kB / 0.5384 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004952/0.741, allocations: 2.385 MB / 0.5407 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02931/0.7704, allocations: 10.84 MB / 0.5513 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08919/0.8596, allocations: 48.82 MB / 0.599 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01777/0.8774, allocations: 6.029 MB / 0.6049 GB, free: 5.895 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005915/0.8834, allocations: 3.306 MB / 0.6081 GB, free: 2.582 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02719/0.9106, allocations: 13.53 MB / 0.6213 GB, free: 4.723 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.88e-05/0.9108, allocations: 63.81 kB / 0.6214 GB, free: 4.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 7.694e-06/0.9108, allocations: 0 / 0.6214 GB, free: 4.652 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.4235/1.334, allocations: 36.33 MB / 0.6568 GB, free: 137.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/1.335, allocations: 207.8 kB / 0.657 GB, free: 136.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009203/1.344, allocations: 4.392 MB / 0.6613 GB, free: 135.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001195/1.345, allocations: 62.36 kB / 0.6614 GB, free: 135.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003399/1.348, allocations: 3.375 MB / 0.6647 GB, free: 132.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00268/1.351, allocations: 0.9884 MB / 0.6657 GB, free: 131.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003473/1.355, allocations: 1.425 MB / 0.667 GB, free: 131.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/1.355, allocations: 301.6 kB / 0.6673 GB, free: 130.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006794/1.361, allocations: 3.289 MB / 0.6705 GB, free: 129.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00816/1.37, allocations: 7.203 MB / 0.6776 GB, free: 123.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/1.383, allocations: 11.24 MB / 0.6886 GB, free: 114.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001596/1.383, allocations: 44.22 kB / 0.6886 GB, free: 114.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02992/1.413, allocations: 13.28 MB / 0.7016 GB, free: 104.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002158/1.414, allocations: 60 kB / 0.7016 GB, free: 104.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003036/1.414, allocations: 136 kB / 0.7018 GB, free: 104 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01084/1.425, allocations: 3.406 MB / 0.7051 GB, free: 100.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007155/1.432, allocations: 1.579 MB / 0.7066 GB, free: 99.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02486/1.457, allocations: 17.56 MB / 0.7238 GB, free: 81.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007897/1.465, allocations: 431.4 kB / 0.7242 GB, free: 80.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002105/1.467, allocations: 418.9 kB / 0.7246 GB, free: 80.53 MB / 494.1 MB 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.006913/1.474, allocations: 2.356 MB / 0.7269 GB, free: 78.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/1.476, allocations: 406.8 kB / 0.7273 GB, free: 77.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/1.494, allocations: 8.002 MB / 0.7351 GB, free: 69.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.44e-05/1.494, allocations: 28 kB / 0.7351 GB, free: 69.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.816e-05/1.494, allocations: 12 kB / 0.7351 GB, free: 69.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.023e-05/1.495, allocations: 11.95 kB / 0.7351 GB, free: 69.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03701/1.532, allocations: 15.55 MB / 0.7503 GB, free: 54.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.909e-05/1.532, allocations: 7.844 kB / 0.7503 GB, free: 54.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002337/1.534, allocations: 383.4 kB / 0.7507 GB, free: 53.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009009/1.543, allocations: 3.169 MB / 0.7538 GB, free: 50.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007943/1.544, allocations: 47.98 kB / 0.7538 GB, free: 50.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01877/1.563, allocations: 15.76 MB / 0.7692 GB, free: 34.64 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.563, allocations: 0 / 0.7692 GB, free: 34.64 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01987/1.583, allocations: 12.13 MB / 0.7811 GB, free: 22.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003693/1.586, allocations: 0.937 MB / 0.782 GB, free: 21.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001681/1.588, allocations: 43.98 kB / 0.782 GB, free: 21.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002987/1.591, allocations: 191.7 kB / 0.7822 GB, free: 21.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007289/1.592, allocations: 162.6 kB / 0.7824 GB, free: 21.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002121/1.592, allocations: 65.56 kB / 0.7824 GB, free: 21.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0047/1.597, allocations: 2.753 MB / 0.7851 GB, free: 18.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/1.597, allocations: 0 / 0.7851 GB, free: 18.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009622/1.606, allocations: 1.374 MB / 0.7864 GB, free: 16.9 MB / 494.1 MB 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.0008673/1.607, allocations: 181.4 kB / 0.7866 GB, free: 16.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01808/1.625, allocations: 10.92 MB / 0.7973 GB, free: 5.832 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.625, allocations: 4.375 kB / 0.7973 GB, free: 5.828 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00493/1.63, allocations: 3.313 MB / 0.8005 GB, free: 2.508 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004496/1.635, allocations: 0.5013 MB / 0.801 GB, free: 2.035 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2598/1.895, allocations: 14.33 MB / 0.815 GB, free: 146.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004174/1.899, allocations: 3.671 MB / 0.8186 GB, free: 145.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005117/1.904, allocations: 2.178 MB / 0.8207 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001066/1.905, allocations: 287.8 kB / 0.821 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/1.905, allocations: 0 / 0.821 GB, free: 145.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.107/2.012, allocations: 60.51 MB / 0.8801 GB, free: 117.3 MB / 0.4981 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches