Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.001321/0.001321, 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.001423/0.001423, 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.487/1.487, allocations: 225.6 MB / 253.3 MB, free: 13.07 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.2364/0.2364, allocations: 44.91 MB / 353.5 MB, free: 11.85 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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute")
translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 67.89 kB / 497.7 MB, free: 1.02 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3294, allocations: 64.3 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01485/0.3443, allocations: 12.4 MB / 0.5609 GB, free: 2.988 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009236/0.3535, allocations: 3.983 MB / 0.5648 GB, free: 14.99 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002516/0.356, allocations: 71.75 kB / 0.5649 GB, free: 14.92 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003496/0.3595, allocations: 1.335 MB / 0.5662 GB, free: 13.58 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005348/0.3649, allocations: 1.806 MB / 0.568 GB, free: 11.77 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.3665, allocations: 491 kB / 0.5684 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005683/0.3721, allocations: 3.587 MB / 0.5719 GB, free: 7.695 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.3747, allocations: 1.622 MB / 0.5735 GB, free: 6.039 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002208/0.3769, allocations: 1.222 MB / 0.5747 GB, free: 4.812 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003047/0.38, allocations: 1.896 MB / 0.5766 GB, free: 2.91 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0007181/0.3807, allocations: 236 kB / 0.5768 GB, free: 2.68 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.3829, allocations: 0.9945 MB / 0.5778 GB, free: 1.684 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001958/0.3849, allocations: 1.632 MB / 0.5793 GB, free: 48 kB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002871/0.3878, allocations: 1.894 MB / 0.5812 GB, free: 14.14 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008159/0.3959, allocations: 6.278 MB / 0.5873 GB, free: 7.84 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.3959, allocations: 0 / 0.5873 GB, free: 7.84 MB / 430.1 MB
Notification: Performance of FrontEnd: time 1.532e-06/0.3959, allocations: 3.938 kB / 0.5873 GB, free: 7.836 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.000151/0.3961, allocations: 0 / 0.5873 GB, free: 7.836 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1528
 * Number of variables: 1528
Notification: Performance of Generate backend data structure: time 0.008722/0.4048, allocations: 4.189 MB / 0.5914 GB, free: 3.59 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.4048, allocations: 8.922 kB / 0.5914 GB, free: 3.582 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/0.4168, allocations: 3.094 MB / 0.5945 GB, free: 492 kB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.007439/0.4242, allocations: 1.859 MB / 0.5963 GB, free: 14.59 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.4246, allocations: 189 kB / 0.5964 GB, free: 14.4 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/0.4263, allocations: 251.9 kB / 0.5967 GB, free: 14.16 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/0.4553, allocations: 10.48 MB / 0.6069 GB, free: 3.234 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001269/0.4554, allocations: 23.81 kB / 0.6069 GB, free: 3.211 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007908/0.4562, allocations: 115.8 kB / 0.6071 GB, free: 3.098 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008537/0.4647, allocations: 2.557 MB / 0.6096 GB, free: 0.5352 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03602/0.5007, allocations: 9.919 MB / 0.6192 GB, free: 6.602 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0685/0.5692, allocations: 34.2 MB / 0.6526 GB, free: 3.566 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.5795, allocations: 4.074 MB / 0.6566 GB, free: 15.48 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003678/0.5832, allocations: 2.115 MB / 0.6587 GB, free: 13.37 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001281/0.5844, allocations: 0.5439 MB / 0.6592 GB, free: 12.82 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/0.5845, allocations: 56.55 kB / 0.6593 GB, free: 12.76 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=229): time 5.55e-06/0.5845, allocations: 3.938 kB / 0.6593 GB, free: 12.75 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=235): time 0.03803/0.6225, allocations: 13.9 MB / 0.6728 GB, free: 14.84 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.6226, allocations: 77.34 kB / 0.6729 GB, free: 14.75 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004551/0.6272, allocations: 2.64 MB / 0.6755 GB, free: 12.09 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002964/0.6275, allocations: 57.61 kB / 0.6756 GB, free: 12.03 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002476/0.6299, allocations: 2.745 MB / 0.6782 GB, free: 9.254 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001399/0.6313, allocations: 0.8913 MB / 0.6791 GB, free: 8.355 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002768/0.6341, allocations: 1.045 MB / 0.6801 GB, free: 7.301 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001978/0.6343, allocations: 301.1 kB / 0.6804 GB, free: 7.004 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005867/0.6402, allocations: 2.208 MB / 0.6826 GB, free: 4.789 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.01008/0.6502, allocations: 5.071 MB / 0.6875 GB, free: 14.31 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/0.6678, allocations: 7.977 MB / 0.6953 GB, free: 4.934 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/0.6679, allocations: 28 kB / 0.6953 GB, free: 4.906 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=695) (initialization): time 0.02804/0.6959, allocations: 7.893 MB / 0.703 GB, free: 13 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.696, allocations: 47.94 kB / 0.7031 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001853/0.6962, allocations: 100 kB / 0.7032 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003303/0.6995, allocations: 0.7929 MB / 0.704 GB, free: 12.06 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/0.7038, allocations: 1.185 MB / 0.7051 GB, free: 10.88 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006563/0.7104, allocations: 4.416 MB / 0.7094 GB, free: 6.348 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.7143, allocations: 299.7 kB / 0.7097 GB, free: 6.059 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009851/0.7153, allocations: 304 kB / 0.71 GB, free: 5.762 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 454
 * Number of states: 0 ()
 * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (635):
 * Single equations (assignments): 628
 * Array equations: 6
 * 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
   {(1,12,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.004574/0.7199, allocations: 2.009 MB / 0.712 GB, free: 3.738 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000616/0.7205, allocations: 274.2 kB / 0.7122 GB, free: 3.469 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008765/0.7293, allocations: 4.717 MB / 0.7168 GB, free: 14.72 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.888e-05/0.7294, allocations: 44 kB / 0.7169 GB, free: 14.68 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.7294, allocations: 7.938 kB / 0.7169 GB, free: 14.67 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.791e-05/0.7294, allocations: 15.95 kB / 0.7169 GB, free: 14.66 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/0.7495, allocations: 10.47 MB / 0.7271 GB, free: 4.027 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.7495, allocations: 8 kB / 0.7271 GB, free: 4.02 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001701/0.7512, allocations: 359.4 kB / 0.7275 GB, free: 3.668 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.7534, allocations: 0.6642 MB / 0.7281 GB, free: 3 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.7537, allocations: 43.98 kB / 0.7282 GB, free: 2.957 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2852/1.039, allocations: 3.793 MB / 0.7319 GB, free: 161.3 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.856e-05/1.039, allocations: 12.14 kB / 0.7319 GB, free: 161.3 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/1.05, allocations: 7.149 MB / 0.7389 GB, free: 159.4 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008911/1.051, allocations: 248.7 kB / 0.7391 GB, free: 159.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004364/1.052, allocations: 34.91 kB / 0.7391 GB, free: 159.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/1.053, allocations: 141.6 kB / 0.7393 GB, free: 159.3 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/1.053, allocations: 142.3 kB / 0.7394 GB, free: 159.3 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.053, allocations: 67.08 kB / 0.7395 GB, free: 159.3 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.00209/1.056, allocations: 1.617 MB / 0.741 GB, free: 158.7 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 8e-08/1.056, allocations: 0.5 kB / 0.741 GB, free: 158.7 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.003494/1.059, allocations: 0.9301 MB / 0.742 GB, free: 158.6 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 30
 * Number of states: 2 (revolute.phi,revolute.w)
 * 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 (178):
 * Single equations (assignments): 171
 * Array equations: 6
 * 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
   {(1,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004195/1.059, allocations: 184.8 kB / 0.7421 GB, free: 158.5 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.006179/1.066, allocations: 5.153 MB / 0.7472 GB, free: 156.9 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 7.114e-06/1.066, allocations: 3.812 kB / 0.7472 GB, free: 156.9 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.002002/1.068, allocations: 1.874 MB / 0.749 GB, free: 156.2 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/1.069, allocations: 370.3 kB / 0.7494 GB, free: 156 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.082, allocations: 9.565 MB / 0.7587 GB, free: 148.1 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00259/1.085, allocations: 3.171 MB / 0.7618 GB, free: 145.6 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.00339/1.088, allocations: 1.957 MB / 0.7637 GB, free: 143.7 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006262/1.089, allocations: 203.4 kB / 0.7639 GB, free: 143.5 MB / 0.5606 GB
Notification: Performance of SimCode: time 9.22e-07/1.089, allocations: 0 / 0.7639 GB, free: 143.5 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05316/1.142, allocations: 32.73 MB / 0.7959 GB, free: 111 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.150434701703489]