Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 106.5 kB / 21.22 MB, free: 0.6797 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.001589, allocations: 209.3 kB / 24.54 MB, free: 4.055 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2374/0.2374, allocations: 46.89 MB / 361.3 MB, free: 4.445 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint")
translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 75.88 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3163, allocations: 66.03 MB / 0.5615 GB, free: 4.633 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01244/0.3288, allocations: 9.528 MB / 0.5708 GB, free: 11.06 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008121/0.3369, allocations: 3.863 MB / 0.5746 GB, free: 7.188 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.3382, allocations: 63.69 kB / 0.5747 GB, free: 7.125 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004552/0.3427, allocations: 2.324 MB / 0.5769 GB, free: 4.793 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004851/0.3476, allocations: 1.654 MB / 0.5786 GB, free: 3.133 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.3493, allocations: 0.6901 MB / 0.5792 GB, free: 2.441 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005962/0.3553, allocations: 3.812 MB / 0.583 GB, free: 14.62 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.003448/0.3587, allocations: 2.129 MB / 0.585 GB, free: 12.45 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002275/0.361, allocations: 1.312 MB / 0.5863 GB, free: 11.13 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003161/0.3641, allocations: 1.865 MB / 0.5881 GB, free: 9.258 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0006456/0.3648, allocations: 280 kB / 0.5884 GB, free: 8.984 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.3671, allocations: 1.194 MB / 0.5896 GB, free: 7.789 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001808/0.3689, allocations: 1.62 MB / 0.5912 GB, free: 6.164 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00236/0.3712, allocations: 1.856 MB / 0.593 GB, free: 4.297 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008368/0.3796, allocations: 6.234 MB / 0.5991 GB, free: 14.04 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3796, allocations: 0 / 0.5991 GB, free: 14.04 MB / 446.1 MB
Notification: Performance of FrontEnd: time 1.843e-06/0.3796, allocations: 0 / 0.5991 GB, free: 14.04 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0001806/0.3798, allocations: 3.938 kB / 0.5991 GB, free: 14.04 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: 1276
 * Number of variables: 1276
Notification: Performance of Generate backend data structure: time 0.009792/0.3896, allocations: 4.186 MB / 0.6031 GB, free: 9.793 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.3896, allocations: 8.031 kB / 0.6032 GB, free: 9.785 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008352/0.398, allocations: 2.022 MB / 0.6051 GB, free: 7.758 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006221/0.4042, allocations: 2.259 MB / 0.6073 GB, free: 5.465 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.4044, allocations: 197.3 kB / 0.6075 GB, free: 5.27 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000725/0.4051, allocations: 271.9 kB / 0.6078 GB, free: 5.004 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.4205, allocations: 8.573 MB / 0.6162 GB, free: 11.81 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001461/0.4206, allocations: 39.7 kB / 0.6162 GB, free: 11.77 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007312/0.4213, allocations: 127.9 kB / 0.6163 GB, free: 11.64 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003296/0.4246, allocations: 1.739 MB / 0.618 GB, free: 9.906 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.015/0.4396, allocations: 7.572 MB / 0.6254 GB, free: 2.324 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04626/0.4859, allocations: 34.13 MB / 0.6587 GB, free: 15.2 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00732/0.4932, allocations: 2.516 MB / 0.6612 GB, free: 12.64 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/0.4957, allocations: 1.774 MB / 0.6629 GB, free: 10.86 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.4961, allocations: 100.4 kB / 0.663 GB, free: 10.76 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.4961, allocations: 51.16 kB / 0.6631 GB, free: 10.7 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=135): time 3.947e-06/0.4961, allocations: 0 / 0.6631 GB, free: 10.7 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=156): time 0.04318/0.5393, allocations: 15.29 MB / 0.678 GB, free: 11.35 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.5394, allocations: 171.2 kB / 0.6782 GB, free: 11.14 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005966/0.5454, allocations: 3.52 MB / 0.6816 GB, free: 7.621 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003315/0.5457, allocations: 49.83 kB / 0.6817 GB, free: 7.566 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002323/0.548, allocations: 2.749 MB / 0.6843 GB, free: 4.793 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0008981/0.5489, allocations: 0.6358 MB / 0.685 GB, free: 4.152 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001964/0.5509, allocations: 1.111 MB / 0.686 GB, free: 3.031 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001242/0.551, allocations: 301.1 kB / 0.6863 GB, free: 2.734 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003155/0.5542, allocations: 2.119 MB / 0.6884 GB, free: 0.6094 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006074/0.5602, allocations: 5.337 MB / 0.6936 GB, free: 9.656 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.5705, allocations: 8.037 MB / 0.7015 GB, free: 28 kB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.5706, allocations: 32.05 kB / 0.7015 GB, free: 15.99 MB / 0.545 GB
Notification: Performance of matching and sorting (n=697) (initialization): time 0.01548/0.5861, allocations: 8.299 MB / 0.7096 GB, free: 7.695 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 8.937e-05/0.5862, allocations: 52 kB / 0.7096 GB, free: 7.645 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/0.5863, allocations: 112 kB / 0.7097 GB, free: 7.535 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.5895, allocations: 1.227 MB / 0.7109 GB, free: 6.305 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004157/0.5937, allocations: 1.209 MB / 0.7121 GB, free: 5.094 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.6044, allocations: 7.503 MB / 0.7195 GB, free: 13.48 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003765/0.6082, allocations: 315.6 kB / 0.7198 GB, free: 13.18 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006952/0.6089, allocations: 327.9 kB / 0.7201 GB, free: 12.86 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 516
 * Number of states: 0 ()
 * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.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])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (649):
 * Single equations (assignments): 645
 * 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
   {(3,22,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003119/0.612, allocations: 1.848 MB / 0.7219 GB, free: 10.99 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006572/0.6127, allocations: 313.9 kB / 0.7222 GB, free: 10.68 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007076/0.6197, allocations: 3.553 MB / 0.7256 GB, free: 7.105 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-05/0.6198, allocations: 20 kB / 0.7257 GB, free: 7.086 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.6198, allocations: 4 kB / 0.7257 GB, free: 7.082 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.6198, allocations: 7.969 kB / 0.7257 GB, free: 7.074 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3037/0.9235, allocations: 8.131 MB / 0.7336 GB, free: 152.5 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/0.9236, allocations: 1.031 kB / 0.7336 GB, free: 152.5 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/0.925, allocations: 233.3 kB / 0.7338 GB, free: 152.5 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.9278, allocations: 1.069 MB / 0.7349 GB, free: 152.5 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.928, allocations: 26.53 kB / 0.7349 GB, free: 152.5 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007851/0.9358, allocations: 7.155 MB / 0.7419 GB, free: 149.4 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.9358, allocations: 5.594 kB / 0.7419 GB, free: 149.4 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007704/0.9436, allocations: 6.278 MB / 0.748 GB, free: 147 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007405/0.9443, allocations: 297.4 kB / 0.7483 GB, free: 147 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/0.9446, allocations: 29.06 kB / 0.7483 GB, free: 147 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.9458, allocations: 97.02 kB / 0.7484 GB, free: 147 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000237/0.946, allocations: 95.7 kB / 0.7485 GB, free: 146.9 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.9462, allocations: 40.5 kB / 0.7486 GB, free: 146.9 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.002611/0.9488, allocations: 2.202 MB / 0.7507 GB, free: 146.2 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/0.9488, allocations: 0 / 0.7507 GB, free: 146.2 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.003556/0.9523, allocations: 0.886 MB / 0.7516 GB, free: 146.1 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 (115):
 * Single equations (assignments): 111
 * 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
   {(4,18,75.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003838/0.9527, allocations: 157.5 kB / 0.7517 GB, free: 146 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.006196/0.9589, allocations: 4.937 MB / 0.7566 GB, free: 142.6 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.9589, allocations: 0 / 0.7566 GB, free: 142.6 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.002293/0.9612, allocations: 1.741 MB / 0.7583 GB, free: 141.1 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00196/0.9632, allocations: 371.1 kB / 0.7586 GB, free: 140.8 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/0.9748, allocations: 8.484 MB / 0.7669 GB, free: 132.4 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002235/0.977, allocations: 2.886 MB / 0.7697 GB, free: 129.4 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003003/0.9801, allocations: 1.718 MB / 0.7714 GB, free: 127.7 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/0.9806, allocations: 215.4 kB / 0.7716 GB, free: 127.5 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.072e-06/0.9806, allocations: 0 / 0.7716 GB, free: 127.5 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05812/1.039, allocations: 37.52 MB / 0.8082 GB, free: 90.23 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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: 7.011939952149987]