Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001788/0.001788, allocations: 102.8 kB / 19.69 MB, free: 2.043 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.003249/0.003249, allocations: 189.4 kB / 22.98 MB, free: 4.957 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.24 MB / 330.2 MB, free: 9.547 MB / 270.1 MB
"
[Timeout remaining time 179]
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 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 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.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization")
translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 75.88 kB / 468 MB, free: 4.023 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1282, allocations: 61.03 MB / 0.5166 GB, free: 6.855 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01399/0.1421, allocations: 10.36 MB / 0.5267 GB, free: 12.44 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008377/0.1505, allocations: 3.838 MB / 0.5305 GB, free: 8.586 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001451/0.152, allocations: 71.62 kB / 0.5305 GB, free: 8.516 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.004125/0.1561, allocations: 1.966 MB / 0.5324 GB, free: 6.543 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00427/0.1604, allocations: 1.716 MB / 0.5341 GB, free: 4.82 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.1619, allocations: 0.6082 MB / 0.5347 GB, free: 4.211 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004848/0.1667, allocations: 3.349 MB / 0.538 GB, free: 0.8516 MB / 414.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.2219/0.3886, allocations: 1.921 MB / 0.5399 GB, free: 11.09 MB / 414.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002478/0.3911, allocations: 1.27 MB / 0.5411 GB, free: 11.02 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002992/0.3941, allocations: 1.825 MB / 0.5429 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0008192/0.3949, allocations: 257.6 kB / 0.5431 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00229/0.3972, allocations: 1.056 MB / 0.5442 GB, free: 10.82 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001732/0.3989, allocations: 1.621 MB / 0.5457 GB, free: 10.62 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002031/0.401, allocations: 1.831 MB / 0.5475 GB, free: 9.953 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009631/0.4106, allocations: 5.858 MB / 0.5533 GB, free: 9.012 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.4106, allocations: 0 / 0.5533 GB, free: 9.012 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.294e-06/0.4106, allocations: 4.281 kB / 0.5533 GB, free: 9.012 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0003443/0.4109, allocations: 0 / 0.5533 GB, free: 9.012 MB / 414.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.0162/0.4271, allocations: 4.055 MB / 0.5572 GB, free: 6.809 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.4272, allocations: 9.125 kB / 0.5572 GB, free: 6.809 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008076/0.4353, allocations: 1.798 MB / 0.559 GB, free: 6.492 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005479/0.4408, allocations: 1.944 MB / 0.5609 GB, free: 5.602 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.441, allocations: 191.4 kB / 0.5611 GB, free: 5.543 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.442, allocations: 252.5 kB / 0.5613 GB, free: 5.484 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01589/0.4579, allocations: 8.438 MB / 0.5695 GB, free: 1.301 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/0.458, allocations: 50.56 kB / 0.5696 GB, free: 1.289 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003982/0.4584, allocations: 126.4 kB / 0.5697 GB, free: 1.238 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002792/0.4612, allocations: 1.698 MB / 0.5714 GB, free: 0.5977 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01489/0.4761, allocations: 7.092 MB / 0.5783 GB, free: 13.49 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05083/0.5269, allocations: 33.99 MB / 0.6115 GB, free: 13.72 MB / 462.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.008039/0.535, allocations: 2.729 MB / 0.6142 GB, free: 10.96 MB / 462.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002241/0.5372, allocations: 1.361 MB / 0.6155 GB, free: 9.586 MB / 462.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.007307/0.5445, allocations: 3.676 MB / 0.6191 GB, free: 5.91 MB / 462.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/0.5446, allocations: 44.03 kB / 0.6191 GB, free: 5.859 MB / 462.1 MB
Notification: Performance of pre-optimization done (n=121): time 4.348e-06/0.5446, allocations: 0 / 0.6191 GB, free: 5.859 MB / 462.1 MB
Notification: Performance of matching and sorting (n=129): time 0.03243/0.577, allocations: 11.51 MB / 0.6304 GB, free: 10.32 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.5771, allocations: 165.8 kB / 0.6305 GB, free: 10.12 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006121/0.5832, allocations: 3.746 MB / 0.6342 GB, free: 6.383 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003277/0.5836, allocations: 44.67 kB / 0.6342 GB, free: 6.336 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.002493/0.5861, allocations: 2.857 MB / 0.637 GB, free: 3.492 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0008778/0.5869, allocations: 0.5457 MB / 0.6375 GB, free: 2.953 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/0.5887, allocations: 1.091 MB / 0.6386 GB, free: 1.852 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001454/0.5888, allocations: 309 kB / 0.6389 GB, free: 1.547 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002807/0.5916, allocations: 1.709 MB / 0.6406 GB, free: 15.83 MB / 494.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005992/0.5976, allocations: 5.132 MB / 0.6456 GB, free: 9.031 MB / 494.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.009813/0.6074, allocations: 7.408 MB / 0.6528 GB, free: 340 kB / 494.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.253e-05/0.6075, allocations: 36 kB / 0.6529 GB, free: 304 kB / 494.1 MB
Notification: Performance of matching and sorting (n=696) (initialization): time 0.01482/0.6223, allocations: 6.736 MB / 0.6594 GB, free: 9.555 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/0.6224, allocations: 59.75 kB / 0.6595 GB, free: 9.5 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/0.6226, allocations: 124.9 kB / 0.6596 GB, free: 9.379 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007346/0.6233, allocations: 324.6 kB / 0.6599 GB, free: 9.059 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004429/0.6277, allocations: 1.244 MB / 0.6611 GB, free: 7.812 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003065/0.6308, allocations: 2.401 MB / 0.6635 GB, free: 5.305 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004803/0.6356, allocations: 291.6 kB / 0.6638 GB, free: 5.02 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001341/0.6369, allocations: 328 kB / 0.6641 GB, free: 4.699 MB / 0.4981 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.004718/0.6416, allocations: 1.787 MB / 0.6658 GB, free: 2.898 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008546/0.6425, allocations: 333.6 kB / 0.6661 GB, free: 2.574 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005752/0.6483, allocations: 2.357 MB / 0.6684 GB, free: 212 kB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/0.6483, allocations: 15.12 kB / 0.6684 GB, free: 200 kB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.6483, allocations: 4 kB / 0.6685 GB, free: 196 kB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/0.6483, allocations: 7.984 kB / 0.6685 GB, free: 188 kB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.6621, allocations: 5.886 MB / 0.6742 GB, free: 10.27 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.6621, allocations: 4.062 kB / 0.6742 GB, free: 10.26 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000906/0.663, allocations: 167.8 kB / 0.6744 GB, free: 10.1 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/0.6654, allocations: 0.724 MB / 0.6751 GB, free: 9.371 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.6655, allocations: 16 kB / 0.6751 GB, free: 9.355 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006858/0.6723, allocations: 4.722 MB / 0.6797 GB, free: 4.52 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6724, allocations: 0 / 0.6797 GB, free: 4.52 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007868/0.6802, allocations: 4.33 MB / 0.6839 GB, free: 164 kB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001942/0.6822, allocations: 481.7 kB / 0.6844 GB, free: 15.68 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/0.6826, allocations: 20 kB / 0.6844 GB, free: 15.66 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.6838, allocations: 71.97 kB / 0.6845 GB, free: 15.59 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.684, allocations: 76.27 kB / 0.6846 GB, free: 15.52 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6841, allocations: 32 kB / 0.6846 GB, free: 15.49 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.004737/0.6889, allocations: 2.331 MB / 0.6869 GB, free: 13.18 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 1.91e-07/0.6889, allocations: 0 / 0.6869 GB, free: 13.18 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.005815/0.6947, allocations: 0.8223 MB / 0.6877 GB, free: 12.36 MB / 0.5294 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.0006006/0.6953, allocations: 159.7 kB / 0.6878 GB, free: 12.2 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.007747/0.703, allocations: 3.892 MB / 0.6916 GB, free: 8.32 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.703, allocations: 0 / 0.6916 GB, free: 8.32 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.00185/0.7049, allocations: 1.03 MB / 0.6926 GB, free: 7.281 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003749/0.7086, allocations: 395.4 kB / 0.693 GB, free: 6.906 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.7251, allocations: 7.454 MB / 0.7003 GB, free: 15.42 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/0.7287, allocations: 2.788 MB / 0.703 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.004046/0.7327, allocations: 1.66 MB / 0.7046 GB, free: 10.95 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006821/0.7334, allocations: 207.4 kB / 0.7048 GB, free: 10.74 MB / 0.545 GB
Notification: Performance of SimCode: time 1.012e-06/0.7334, allocations: 4 kB / 0.7048 GB, free: 10.74 MB / 0.545 GB
Notification: Performance of Templates: time 0.07192/0.8053, allocations: 32 MB / 0.7361 GB, free: 10.91 MB / 0.5762 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.017811470665038]