Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001368/0.001368, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00146/0.00146, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.461/1.461, allocations: 230.3 MB / 258 MB, free: 8.156 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.227/0.227, allocations: 46.94 MB / 361.4 MB, free: 4.359 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization")
translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002447/0.002447, allocations: 88.12 kB / 0.4972 GB, free: 7.461 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4121, allocations: 66.04 MB / 0.5617 GB, free: 4.508 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01296/0.4251, allocations: 10.32 MB / 0.5717 GB, free: 10.13 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009446/0.4346, allocations: 3.841 MB / 0.5755 GB, free: 6.281 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.4365, allocations: 71.62 kB / 0.5756 GB, free: 6.211 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004123/0.4406, allocations: 1.974 MB / 0.5775 GB, free: 4.23 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005091/0.4457, allocations: 1.681 MB / 0.5791 GB, free: 2.543 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.4474, allocations: 0.6043 MB / 0.5797 GB, free: 1.938 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.005454/0.4529, allocations: 3.365 MB / 0.583 GB, free: 14.57 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.4554, allocations: 1.932 MB / 0.5849 GB, free: 12.58 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.4576, allocations: 1.257 MB / 0.5861 GB, free: 11.32 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002958/0.4605, allocations: 1.81 MB / 0.5879 GB, free: 9.5 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000663/0.4612, allocations: 252 kB / 0.5881 GB, free: 9.254 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002179/0.4634, allocations: 1.053 MB / 0.5892 GB, free: 8.199 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001774/0.4651, allocations: 1.601 MB / 0.5907 GB, free: 6.594 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002112/0.4673, allocations: 1.817 MB / 0.5925 GB, free: 4.766 MB / 430.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.008803/0.4761, allocations: 5.807 MB / 0.5982 GB, free: 14.94 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4761, allocations: 0 / 0.5982 GB, free: 14.94 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.585e-06/0.4761, allocations: 0 / 0.5982 GB, free: 14.94 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.000247/0.4763, allocations: 0 / 0.5982 GB, free: 14.94 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: 1275
 * Number of variables: 1275
Notification: Performance of Generate backend data structure: time 0.01063/0.4869, allocations: 4.034 MB / 0.6021 GB, free: 10.85 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.487, allocations: 12.03 kB / 0.6021 GB, free: 10.84 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006167/0.4932, allocations: 1.792 MB / 0.6039 GB, free: 9.039 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004439/0.4976, allocations: 1.864 MB / 0.6057 GB, free: 7.129 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.4978, allocations: 189.2 kB / 0.6059 GB, free: 6.941 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006089/0.4984, allocations: 259.8 kB / 0.6061 GB, free: 6.688 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.5147, allocations: 8.451 MB / 0.6144 GB, free: 13.56 MB / 462.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.5148, allocations: 43.58 kB / 0.6144 GB, free: 13.52 MB / 462.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009804/0.5158, allocations: 123.9 kB / 0.6145 GB, free: 13.4 MB / 462.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002993/0.5188, allocations: 1.699 MB / 0.6162 GB, free: 11.7 MB / 462.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.5335, allocations: 7.11 MB / 0.6231 GB, free: 4.582 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04683/0.5804, allocations: 33.97 MB / 0.6563 GB, free: 1.605 MB / 494.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007708/0.5881, allocations: 2.726 MB / 0.659 GB, free: 14.84 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/0.5902, allocations: 1.363 MB / 0.6603 GB, free: 13.46 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.007559/0.5978, allocations: 3.704 MB / 0.6639 GB, free: 9.727 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.5978, allocations: 43.22 kB / 0.664 GB, free: 9.676 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=121): time 4.679e-06/0.5978, allocations: 0 / 0.664 GB, free: 9.676 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=129): time 0.03287/0.6307, allocations: 11.53 MB / 0.6752 GB, free: 14.07 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/0.6308, allocations: 166.9 kB / 0.6754 GB, free: 13.88 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007363/0.6382, allocations: 3.722 MB / 0.679 GB, free: 10.16 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.6385, allocations: 45.7 kB / 0.679 GB, free: 10.11 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002573/0.641, allocations: 2.858 MB / 0.6818 GB, free: 7.223 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0008304/0.6419, allocations: 0.5468 MB / 0.6824 GB, free: 6.672 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002072/0.6439, allocations: 1.084 MB / 0.6834 GB, free: 5.578 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001519/0.6441, allocations: 305.1 kB / 0.6837 GB, free: 5.277 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003047/0.6471, allocations: 1.705 MB / 0.6854 GB, free: 3.566 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.006224/0.6534, allocations: 5.143 MB / 0.6904 GB, free: 12.7 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.009873/0.6632, allocations: 7.421 MB / 0.6977 GB, free: 3.562 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/0.6634, allocations: 36 kB / 0.6977 GB, free: 3.527 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=696) (initialization): time 0.01443/0.6778, allocations: 6.742 MB / 0.7043 GB, free: 12.78 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.000211/0.678, allocations: 62.59 kB / 0.7043 GB, free: 12.72 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000312/0.6783, allocations: 124 kB / 0.7045 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009907/0.6793, allocations: 325.2 kB / 0.7048 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/0.6834, allocations: 1.244 MB / 0.706 GB, free: 11.03 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.6866, allocations: 2.394 MB / 0.7083 GB, free: 8.523 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004668/0.6913, allocations: 291.7 kB / 0.7086 GB, free: 8.238 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/0.6924, allocations: 336 kB / 0.7089 GB, free: 7.91 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 555
 * Number of states: 0 ()
 * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668):
 * Single equations (assignments): 664
 * 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
   {(1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.004679/0.6971, allocations: 1.787 MB / 0.7107 GB, free: 6.109 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009091/0.698, allocations: 321.8 kB / 0.711 GB, free: 5.793 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005526/0.7035, allocations: 2.37 MB / 0.7133 GB, free: 3.41 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.799e-05/0.7035, allocations: 16 kB / 0.7133 GB, free: 3.395 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.7036, allocations: 0 / 0.7133 GB, free: 3.395 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.7036, allocations: 11.97 kB / 0.7133 GB, free: 3.383 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01463/0.7182, allocations: 5.885 MB / 0.7191 GB, free: 13.43 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.7182, allocations: 3.938 kB / 0.7191 GB, free: 13.43 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.7191, allocations: 179.8 kB / 0.7192 GB, free: 13.25 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/0.7214, allocations: 0.7146 MB / 0.7199 GB, free: 12.54 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.7216, allocations: 24 kB / 0.7199 GB, free: 12.51 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006988/0.7286, allocations: 4.722 MB / 0.7246 GB, free: 7.672 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.7286, allocations: 4 kB / 0.7246 GB, free: 7.668 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007884/0.7365, allocations: 4.343 MB / 0.7288 GB, free: 3.297 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.7377, allocations: 293.7 kB / 0.7291 GB, free: 3.008 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008433/0.7386, allocations: 27.92 kB / 0.7291 GB, free: 2.98 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001513/0.7401, allocations: 79.91 kB / 0.7292 GB, free: 2.902 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002269/0.7403, allocations: 68.52 kB / 0.7293 GB, free: 2.836 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7404, allocations: 32 kB / 0.7293 GB, free: 2.805 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.005249/0.7457, allocations: 2.319 MB / 0.7315 GB, free: 0.5 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 1.2e-07/0.7457, allocations: 0 / 0.7315 GB, free: 0.5 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.3564/1.102, allocations: 0.8046 MB / 0.7323 GB, free: 153.8 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 2 (rev.phi,rev.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 (96):
 * Single equations (assignments): 92
 * 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
   {(1,11,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006595/1.103, allocations: 146.7 kB / 0.7325 GB, free: 153.7 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.006851/1.11, allocations: 3.901 MB / 0.7363 GB, free: 152.9 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 4.91e-06/1.11, allocations: 0 / 0.7363 GB, free: 152.9 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.001455/1.111, allocations: 1.046 MB / 0.7373 GB, free: 152.5 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/1.113, allocations: 390.1 kB / 0.7377 GB, free: 152.3 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/1.123, allocations: 7.44 MB / 0.7449 GB, free: 149.1 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002119/1.125, allocations: 2.783 MB / 0.7477 GB, free: 148 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.002881/1.128, allocations: 1.658 MB / 0.7493 GB, free: 147.9 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/1.129, allocations: 214 kB / 0.7495 GB, free: 147.8 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.292e-06/1.129, allocations: 0 / 0.7495 GB, free: 147.8 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05466/1.183, allocations: 31.81 MB / 0.7805 GB, free: 117.5 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.264434674754739]