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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB
"
[Timeout remaining time 179]
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=5002,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=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 59.89 kB / 497.7 MB, free: 1.004 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4594/0.4614, allocations: 64.3 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01622/0.4776, allocations: 12.06 MB / 0.5606 GB, free: 3.312 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01093/0.4886, allocations: 4.422 MB / 0.5649 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.4917, allocations: 87.56 kB / 0.565 GB, free: 14.79 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.006053/0.4977, allocations: 2.807 MB / 0.5677 GB, free: 11.98 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006845/0.5046, allocations: 2.109 MB / 0.5698 GB, free: 9.863 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002907/0.5075, allocations: 1.002 MB / 0.5708 GB, free: 8.859 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00944/0.5169, allocations: 5.295 MB / 0.576 GB, free: 3.551 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00574/0.5227, allocations: 2.62 MB / 0.5785 GB, free: 0.8828 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005575/0.5282, allocations: 1.787 MB / 0.5803 GB, free: 15.09 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005422/0.5337, allocations: 2.656 MB / 0.5829 GB, free: 12.43 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001534/0.5352, allocations: 368 kB / 0.5832 GB, free: 12.07 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00376/0.5389, allocations: 1.467 MB / 0.5846 GB, free: 10.6 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003252/0.5422, allocations: 2.251 MB / 0.5868 GB, free: 8.34 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004153/0.5464, allocations: 2.501 MB / 0.5893 GB, free: 5.824 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0126/0.5589, allocations: 8.097 MB / 0.5972 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.559, allocations: 0 / 0.5972 GB, free: 13.7 MB / 446.1 MB
Notification: Performance of FrontEnd: time 4.538e-06/0.559, allocations: 7.984 kB / 0.5972 GB, free: 13.69 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0003311/0.5593, allocations: 4 kB / 0.5972 GB, free: 13.68 MB / 446.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.01643/0.5757, allocations: 5.81 MB / 0.6029 GB, free: 7.812 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.5758, allocations: 12.92 kB / 0.6029 GB, free: 7.801 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.5923, allocations: 2.626 MB / 0.6054 GB, free: 5.168 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008993/0.6012, allocations: 3.146 MB / 0.6085 GB, free: 1.969 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/0.6015, allocations: 262.8 kB / 0.6088 GB, free: 1.711 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001448/0.603, allocations: 351.8 kB / 0.6091 GB, free: 1.367 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02606/0.629, allocations: 12.35 MB / 0.6212 GB, free: 4.203 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001736/0.6292, allocations: 55.56 kB / 0.6212 GB, free: 4.148 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005177/0.6297, allocations: 171.8 kB / 0.6214 GB, free: 3.98 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004171/0.6339, allocations: 2.373 MB / 0.6237 GB, free: 1.605 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02426/0.6582, allocations: 10.84 MB / 0.6343 GB, free: 6.738 MB / 478.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07088/0.729, allocations: 48.57 MB / 0.6817 GB, free: 4.789 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01517/0.7442, allocations: 5.346 MB / 0.6869 GB, free: 15.39 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004857/0.7491, allocations: 3.021 MB / 0.6899 GB, free: 12.37 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.02191/0.771, allocations: 12.39 MB / 0.702 GB, free: 15.93 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.771, allocations: 55.88 kB / 0.702 GB, free: 15.87 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=204): time 5.56e-06/0.771, allocations: 0 / 0.702 GB, free: 15.87 MB / 0.545 GB
Notification: Performance of matching and sorting (n=265): time 0.4599/1.231, allocations: 36.08 MB / 0.7373 GB, free: 164.6 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/1.231, allocations: 217.3 kB / 0.7375 GB, free: 164.3 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006409/1.237, allocations: 4.368 MB / 0.7417 GB, free: 162.9 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0006624/1.238, allocations: 69.58 kB / 0.7418 GB, free: 162.9 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.24, allocations: 3.516 MB / 0.7452 GB, free: 161.2 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001377/1.241, allocations: 1.033 MB / 0.7463 GB, free: 160.5 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001983/1.243, allocations: 1.429 MB / 0.7477 GB, free: 159.9 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 7.012e-05/1.243, allocations: 306.7 kB / 0.7479 GB, free: 159.6 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003802/1.247, allocations: 3.281 MB / 0.7511 GB, free: 158.4 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005854/1.253, allocations: 7.206 MB / 0.7582 GB, free: 151.9 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.264, allocations: 11.23 MB / 0.7692 GB, free: 141.3 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001509/1.264, allocations: 40 kB / 0.7692 GB, free: 141.2 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=919) (initialization): time 0.0247/1.289, allocations: 13.26 MB / 0.7821 GB, free: 127.9 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001342/1.289, allocations: 62.5 kB / 0.7822 GB, free: 127.9 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001799/1.289, allocations: 136 kB / 0.7823 GB, free: 127.8 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.009079/1.298, allocations: 3.401 MB / 0.7857 GB, free: 124.3 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00507/1.303, allocations: 1.575 MB / 0.7872 GB, free: 122.8 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02191/1.325, allocations: 17.44 MB / 0.8042 GB, free: 105.2 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006451/1.332, allocations: 427.9 kB / 0.8046 GB, free: 104.8 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001277/1.333, allocations: 412 kB / 0.805 GB, free: 104.4 MB / 0.5606 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.004167/1.337, allocations: 2.354 MB / 0.8073 GB, free: 102.1 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000961/1.338, allocations: 428.3 kB / 0.8077 GB, free: 101.7 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01414/1.352, allocations: 7.963 MB / 0.8155 GB, free: 93.66 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.958e-05/1.352, allocations: 28 kB / 0.8155 GB, free: 93.63 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/1.352, allocations: 8 kB / 0.8155 GB, free: 93.62 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.381e-05/1.353, allocations: 19.89 kB / 0.8156 GB, free: 93.61 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02616/1.379, allocations: 15.32 MB / 0.8305 GB, free: 78.29 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.695e-05/1.379, allocations: 0 / 0.8305 GB, free: 78.29 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.381, allocations: 387.4 kB / 0.8309 GB, free: 77.91 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.008447/1.389, allocations: 3.173 MB / 0.834 GB, free: 74.73 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005792/1.39, allocations: 40 kB / 0.834 GB, free: 74.69 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/1.408, allocations: 15.71 MB / 0.8494 GB, free: 58.87 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.408, allocations: 4 kB / 0.8494 GB, free: 58.87 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.427, allocations: 12.13 MB / 0.8612 GB, free: 46.66 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.428, allocations: 401 kB / 0.8616 GB, free: 46.27 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000809/1.429, allocations: 40 kB / 0.8616 GB, free: 46.23 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.431, allocations: 191.7 kB / 0.8618 GB, free: 46.04 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006149/1.432, allocations: 162.1 kB / 0.862 GB, free: 45.88 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001895/1.432, allocations: 71.42 kB / 0.8621 GB, free: 45.82 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.00348/1.436, allocations: 2.725 MB / 0.8647 GB, free: 43.09 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 1.11e-07/1.436, allocations: 0 / 0.8647 GB, free: 43.09 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0058/1.441, allocations: 1.367 MB / 0.866 GB, free: 41.72 MB / 0.5606 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.0005237/1.442, allocations: 179.3 kB / 0.8662 GB, free: 41.54 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.01206/1.454, allocations: 7.856 MB / 0.8739 GB, free: 33.68 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.454, allocations: 0 / 0.8739 GB, free: 33.68 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.00435/1.458, allocations: 3.052 MB / 0.8769 GB, free: 30.62 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003158/1.461, allocations: 0.5043 MB / 0.8774 GB, free: 30.12 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.48, allocations: 12.13 MB / 0.8892 GB, free: 17.96 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/1.483, allocations: 3.67 MB / 0.8928 GB, free: 14.26 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.004533/1.488, allocations: 2.18 MB / 0.8949 GB, free: 12.07 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/1.489, allocations: 283.4 kB / 0.8952 GB, free: 11.8 MB / 0.5606 GB
Notification: Performance of SimCode: time 2.474e-06/1.489, allocations: 0 / 0.8952 GB, free: 11.8 MB / 0.5606 GB
Notification: Performance of Templates: time 0.1195/1.608, allocations: 62.7 MB / 0.9564 GB, free: 13.42 MB / 0.6231 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660]
(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) [Timeout 480]
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) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.94143090210855]