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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0009299/0.0009301, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008274/0.0008277, allocations: 93.66 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3126/0.3126, allocations: 43.47 MB / 358.6 MB, free: 52.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.488e-05, allocations: 4 kB / 425.3 MB, free: 8.895 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1021, allocations: 58.85 MB / 484.2 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3331/0.4353, allocations: 108.2 MB / 0.5785 GB, free: 12.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.4355, allocations: 79.25 kB / 0.5786 GB, free: 12.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4544/0.8899, allocations: 99.26 MB / 0.6755 GB, free: 87.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.89, allocations: 0 / 0.6755 GB, free: 87.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002011/0.8902, allocations: 93.92 kB / 0.6756 GB, free: 87.43 MB / 490.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.01491/0.9051, allocations: 5.126 MB / 0.6806 GB, free: 85.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.9052, allocations: 9.438 kB / 0.6806 GB, free: 85.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.9228, allocations: 4.611 MB / 0.6851 GB, free: 85.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/0.9369, allocations: 6.08 MB / 0.691 GB, free: 84.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.9371, allocations: 347.2 kB / 0.6914 GB, free: 84.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.9387, allocations: 460.1 kB / 0.6918 GB, free: 84.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.9615, allocations: 12.6 MB / 0.7041 GB, free: 81.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000162/0.9617, allocations: 66.14 kB / 0.7042 GB, free: 81.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006102/0.9623, allocations: 228.5 kB / 0.7044 GB, free: 81.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.9639, allocations: 1.268 MB / 0.7056 GB, free: 81.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02217/0.9861, allocations: 10.74 MB / 0.7161 GB, free: 81.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05108/1.037, allocations: 55.85 MB / 0.7707 GB, free: 41.47 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/1.051, allocations: 5.934 MB / 0.7765 GB, free: 39.45 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/1.054, allocations: 3.031 MB / 0.7794 GB, free: 38.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01521/1.07, allocations: 13.06 MB / 0.7922 GB, free: 31.28 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/1.07, allocations: 55.44 kB / 0.7922 GB, free: 31.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 4.658e-06/1.07, allocations: 0 / 0.7922 GB, free: 31.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.07162/1.141, allocations: 30.57 MB / 0.8221 GB, free: 12.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/1.141, allocations: 201.9 kB / 0.8223 GB, free: 12.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/1.146, allocations: 3.845 MB / 0.826 GB, free: 8.613 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000431/1.146, allocations: 61.7 kB / 0.8261 GB, free: 8.547 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0014/1.148, allocations: 3.45 MB / 0.8295 GB, free: 5.449 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007236/1.149, allocations: 0.9503 MB / 0.8304 GB, free: 4.613 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/1.149, allocations: 135.7 kB / 0.8305 GB, free: 4.484 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002356/1.149, allocations: 0.5884 MB / 0.8311 GB, free: 3.969 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/1.152, allocations: 2.995 MB / 0.834 GB, free: 1.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0128/1.165, allocations: 7.494 MB / 0.8413 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006453/1.172, allocations: 4.49 MB / 0.8457 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.624e-05/1.172, allocations: 40 kB / 0.8458 GB, free: 5.867 MB / 0.4948 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.02396/1.196, allocations: 12.41 MB / 0.8579 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/1.196, allocations: 64 kB / 0.8579 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/1.196, allocations: 136 kB / 0.8581 GB, free: 9.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008465/1.204, allocations: 3.205 MB / 0.8612 GB, free: 6.039 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005185/1.21, allocations: 1.56 MB / 0.8627 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2626/1.472, allocations: 14.93 MB / 0.8773 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.478, allocations: 478 kB / 0.8778 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005868/1.479, allocations: 410.3 kB / 0.8781 GB, free: 103.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 805 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008423/1.48, allocations: 0.6163 MB / 0.8787 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005563/1.48, allocations: 402.6 kB / 0.8791 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01241/1.493, allocations: 7.363 MB / 0.8863 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-05/1.493, allocations: 26.39 kB / 0.8863 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.493, allocations: 13.56 kB / 0.8864 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/1.493, allocations: 13.88 kB / 0.8864 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02322/1.516, allocations: 14.99 MB / 0.901 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.917e-05/1.516, allocations: 3.766 kB / 0.901 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002042/1.518, allocations: 382 kB / 0.9014 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008464/1.527, allocations: 2.864 MB / 0.9042 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003858/1.527, allocations: 42.12 kB / 0.9042 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/1.545, allocations: 13.24 MB / 0.9171 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.545, allocations: 3.375 kB / 0.9171 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.56, allocations: 11.33 MB / 0.9282 GB, free: 91.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/1.563, allocations: 0.9167 MB / 0.9291 GB, free: 90.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005725/1.563, allocations: 39.69 kB / 0.9291 GB, free: 90.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/1.565, allocations: 203.5 kB / 0.9293 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000461/1.566, allocations: 157.5 kB / 0.9295 GB, free: 90.82 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001831/1.566, allocations: 67.84 kB / 0.9296 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003766/1.57, allocations: 2.677 MB / 0.9322 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/1.57, allocations: 0 / 0.9322 GB, free: 89.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005073/1.575, allocations: 1.308 MB / 0.9334 GB, free: 89.71 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (189): * Single equations (assignments): 185 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004461/1.575, allocations: 188.8 kB / 0.9336 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01011/1.585, allocations: 7.659 MB / 0.9411 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/1.585, allocations: 0 / 0.9411 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004234/1.59, allocations: 3.034 MB / 0.9441 GB, free: 85.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/1.593, allocations: 469.8 kB / 0.9445 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01466/1.607, allocations: 9.791 MB / 0.9541 GB, free: 82.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/1.61, allocations: 3.783 MB / 0.9578 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004638/1.615, allocations: 2.179 MB / 0.9599 GB, free: 80.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007845/1.616, allocations: 281.9 kB / 0.9602 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of SimCode: time 8.61e-07/1.616, allocations: 3.5 kB / 0.9602 GB, free: 80.84 MB / 0.5105 GB Notification: Performance of Templates: time 0.07021/1.686, allocations: 53.67 MB / 1.013 GB, free: 45.64 MB / 0.5105 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