Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001369/0.001369, allocations: 104.8 kB / 21.22 MB, free: 0.6719 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.001395/0.001395, allocations: 189.2 kB / 24.51 MB, free: 4.047 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.555/1.555, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.2418/0.2418, allocations: 44.92 MB / 353.5 MB, free: 11.83 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.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal")
translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 71.89 kB / 497.7 MB, free: 1.031 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.4182, allocations: 64.29 MB / 0.5488 GB, free: 13.16 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01813/0.4363, allocations: 13.51 MB / 0.562 GB, free: 1.91 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01411/0.4504, allocations: 4.836 MB / 0.5667 GB, free: 13.06 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.4537, allocations: 115.4 kB / 0.5668 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.007858/0.4615, allocations: 3.8 MB / 0.5705 GB, free: 9.137 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.007189/0.4687, allocations: 2.253 MB / 0.5727 GB, free: 6.879 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00353/0.4723, allocations: 1.084 MB / 0.5738 GB, free: 5.793 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01231/0.4846, allocations: 6.534 MB / 0.5802 GB, free: 15.25 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.005845/0.4904, allocations: 3.26 MB / 0.5834 GB, free: 11.92 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004962/0.4954, allocations: 2.06 MB / 0.5854 GB, free: 9.855 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005889/0.5013, allocations: 2.975 MB / 0.5883 GB, free: 6.871 MB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001479/0.5027, allocations: 428 kB / 0.5887 GB, free: 6.453 MB / 430.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.5065, allocations: 1.502 MB / 0.5902 GB, free: 4.949 MB / 430.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00324/0.5097, allocations: 2.54 MB / 0.5926 GB, free: 2.402 MB / 430.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003997/0.5137, allocations: 2.781 MB / 0.5954 GB, free: 15.6 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01251/0.5262, allocations: 8.848 MB / 0.604 GB, free: 6.723 MB / 446.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5262, allocations: 0 / 0.604 GB, free: 6.723 MB / 446.1 MB
Notification: Performance of FrontEnd: time 2.224e-06/0.5262, allocations: 4 kB / 0.604 GB, free: 6.719 MB / 446.1 MB
Notification: Performance of Transformations before backend: time 0.0002527/0.5265, allocations: 0 / 0.604 GB, free: 6.719 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: 1729
 * Number of variables: 1729
Notification: Performance of Generate backend data structure: time 0.01833/0.5448, allocations: 6.33 MB / 0.6102 GB, free: 332 kB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.5449, allocations: 8.922 kB / 0.6102 GB, free: 324 kB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.013/0.5579, allocations: 2.559 MB / 0.6127 GB, free: 13.75 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01115/0.569, allocations: 3.949 MB / 0.6165 GB, free: 9.734 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/0.5694, allocations: 288.8 kB / 0.6168 GB, free: 9.453 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001847/0.5712, allocations: 387.8 kB / 0.6172 GB, free: 9.074 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02583/0.597, allocations: 12.01 MB / 0.6289 GB, free: 12.28 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.5972, allocations: 59.58 kB / 0.629 GB, free: 12.22 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005324/0.5977, allocations: 179.8 kB / 0.6291 GB, free: 12.04 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003706/0.6014, allocations: 2.139 MB / 0.6312 GB, free: 9.898 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0242/0.6256, allocations: 10.37 MB / 0.6414 GB, free: 15.51 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0734/0.699, allocations: 47.24 MB / 0.6875 GB, free: 14.91 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01536/0.7144, allocations: 5.141 MB / 0.6925 GB, free: 9.738 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004756/0.7192, allocations: 2.692 MB / 0.6951 GB, free: 7.031 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01744/0.7366, allocations: 8.422 MB / 0.7034 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/0.7367, allocations: 59.81 kB / 0.7034 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=206): time 5.1e-06/0.7367, allocations: 0 / 0.7034 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of matching and sorting (n=262): time 0.4392/1.176, allocations: 35.02 MB / 0.7376 GB, free: 163.3 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.206e-05/1.176, allocations: 214.9 kB / 0.7378 GB, free: 163.1 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006818/1.183, allocations: 4.771 MB / 0.7425 GB, free: 161.6 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0007277/1.184, allocations: 67.27 kB / 0.7425 GB, free: 161.5 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002281/1.186, allocations: 3.68 MB / 0.7461 GB, free: 159.7 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.187, allocations: 1.017 MB / 0.7471 GB, free: 159.1 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002002/1.189, allocations: 1.432 MB / 0.7485 GB, free: 158.4 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001004/1.189, allocations: 312.7 kB / 0.7488 GB, free: 158.1 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00425/1.193, allocations: 3.171 MB / 0.7519 GB, free: 157 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005266/1.198, allocations: 7.044 MB / 0.7588 GB, free: 150.4 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.009898/1.208, allocations: 10.94 MB / 0.7695 GB, free: 140.2 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.169e-05/1.208, allocations: 40 kB / 0.7695 GB, free: 140.2 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=914) (initialization): time 0.02943/1.238, allocations: 13.72 MB / 0.7829 GB, free: 126.5 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.238, allocations: 63.03 kB / 0.783 GB, free: 126.4 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/1.238, allocations: 136 kB / 0.7831 GB, free: 126.3 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01808/1.256, allocations: 4.384 MB / 0.7874 GB, free: 121.9 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007532/1.264, allocations: 1.478 MB / 0.7888 GB, free: 120.4 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04785/1.312, allocations: 28.73 MB / 0.8169 GB, free: 91.34 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006546/1.318, allocations: 408.8 kB / 0.8173 GB, free: 90.95 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001502/1.32, allocations: 408 kB / 0.8177 GB, free: 90.55 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 612
 * Number of states: 0 ()
 * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (798):
 * Single equations (assignments): 792
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(8,50,50.0%), (2,12,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,21)}
Notification: Performance of prepare postOptimizeDAE: time 0.005365/1.325, allocations: 2.485 MB / 0.8201 GB, free: 88.13 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/1.326, allocations: 460.9 kB / 0.8205 GB, free: 87.68 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01648/1.343, allocations: 8.423 MB / 0.8288 GB, free: 79.22 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-05/1.343, allocations: 28 kB / 0.8288 GB, free: 79.2 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.225e-05/1.343, allocations: 15.94 kB / 0.8288 GB, free: 79.18 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-05/1.343, allocations: 11.95 kB / 0.8288 GB, free: 79.17 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03839/1.381, allocations: 16.83 MB / 0.8453 GB, free: 62.23 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-05/1.382, allocations: 8 kB / 0.8453 GB, free: 62.23 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/1.384, allocations: 300.1 kB / 0.8455 GB, free: 61.93 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.015/1.399, allocations: 3.971 MB / 0.8494 GB, free: 57.95 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005742/1.399, allocations: 48 kB / 0.8495 GB, free: 57.9 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04168/1.441, allocations: 27.48 MB / 0.8763 GB, free: 30.08 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/1.441, allocations: 7.938 kB / 0.8763 GB, free: 30.07 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/1.46, allocations: 12.41 MB / 0.8884 GB, free: 17.52 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001612/1.462, allocations: 451.6 kB / 0.8889 GB, free: 17.08 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/1.463, allocations: 48 kB / 0.8889 GB, free: 17.03 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/1.466, allocations: 175.7 kB / 0.8891 GB, free: 16.86 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008893/1.467, allocations: 202 kB / 0.8893 GB, free: 16.66 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002702/1.467, allocations: 75.67 kB / 0.8893 GB, free: 16.59 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.005531/1.473, allocations: 3.009 MB / 0.8923 GB, free: 13.59 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 7e-08/1.473, allocations: 0 / 0.8923 GB, free: 13.59 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.008008/1.481, allocations: 1.465 MB / 0.8937 GB, free: 12.12 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 23
 * Number of states: 2 (j1.phi,j1.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 (158):
 * Single equations (assignments): 152
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(8,43,50.0%), (2,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,25)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.00064/1.481, allocations: 190.5 kB / 0.8939 GB, free: 11.93 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.01273/1.494, allocations: 8.146 MB / 0.9018 GB, free: 3.766 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 8.286e-06/1.494, allocations: 4 kB / 0.9019 GB, free: 3.762 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.006584/1.501, allocations: 3.315 MB / 0.9051 GB, free: 420 kB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006929/1.508, allocations: 0.5891 MB / 0.9057 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02941/1.537, allocations: 12.71 MB / 0.9181 GB, free: 3.043 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008363/1.545, allocations: 3.923 MB / 0.9219 GB, free: 15.09 MB / 0.5919 GB
Notification: Performance of simCode: alias equations: time 0.005781/1.551, allocations: 1.999 MB / 0.9239 GB, free: 13.08 MB / 0.5919 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.552, allocations: 279.4 kB / 0.9241 GB, free: 12.81 MB / 0.5919 GB
Notification: Performance of SimCode: time 2.274e-06/1.552, allocations: 4 kB / 0.9241 GB, free: 12.8 MB / 0.5919 GB
Notification: Performance of Templates: time 0.4939/2.046, allocations: 75 MB / 0.9974 GB, free: 195.4 MB / 0.6231 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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: 9.140401349402964]