Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001499/0.001499, 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.001688/0.001688, allocations: 211.9 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.426/1.426, allocations: 230.3 MB / 258 MB, free: 8.211 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.2285/0.2285, allocations: 46.9 MB / 361.3 MB, free: 4.453 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.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal")
translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 75.88 kB / 0.497 GB, free: 7.617 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3786, allocations: 66.03 MB / 0.5615 GB, free: 4.621 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01606/0.3946, allocations: 13.47 MB / 0.5747 GB, free: 7.086 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01063/0.4053, allocations: 4.852 MB / 0.5794 GB, free: 2.223 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.4078, allocations: 107.4 kB / 0.5795 GB, free: 2.117 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.007639/0.4155, allocations: 3.796 MB / 0.5832 GB, free: 14.31 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006618/0.4221, allocations: 2.21 MB / 0.5854 GB, free: 12.09 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002866/0.4249, allocations: 1.088 MB / 0.5864 GB, free: 11 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01079/0.4357, allocations: 6.677 MB / 0.593 GB, free: 4.312 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.005462/0.4412, allocations: 3.256 MB / 0.5961 GB, free: 0.9922 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004565/0.4458, allocations: 2.06 MB / 0.5982 GB, free: 14.93 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.4511, allocations: 2.96 MB / 0.601 GB, free: 11.96 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001367/0.4525, allocations: 432 kB / 0.6015 GB, free: 11.54 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.4558, allocations: 1.486 MB / 0.6029 GB, free: 10.05 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003192/0.459, allocations: 2.52 MB / 0.6054 GB, free: 7.52 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003927/0.4629, allocations: 2.773 MB / 0.6081 GB, free: 4.73 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01243/0.4754, allocations: 8.79 MB / 0.6167 GB, free: 11.9 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.4754, allocations: 0 / 0.6167 GB, free: 11.9 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.894e-06/0.4754, allocations: 4 kB / 0.6167 GB, free: 11.9 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 0.0002833/0.4756, allocations: 0 / 0.6167 GB, free: 11.9 MB / 462.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.01642/0.4921, allocations: 6.326 MB / 0.6228 GB, free: 5.508 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4921, allocations: 8.031 kB / 0.6229 GB, free: 5.5 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01149/0.5036, allocations: 2.564 MB / 0.6254 GB, free: 2.93 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.5139, allocations: 3.863 MB / 0.6291 GB, free: 15 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003482/0.5142, allocations: 287.5 kB / 0.6294 GB, free: 14.72 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/0.5158, allocations: 387.7 kB / 0.6298 GB, free: 14.34 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02541/0.5412, allocations: 12.01 MB / 0.6415 GB, free: 1.543 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002467/0.5415, allocations: 55.53 kB / 0.6416 GB, free: 1.488 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001265/0.5427, allocations: 179.8 kB / 0.6417 GB, free: 1.312 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003714/0.5465, allocations: 2.136 MB / 0.6438 GB, free: 15.17 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02235/0.5688, allocations: 10.37 MB / 0.6539 GB, free: 4.785 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06974/0.6386, allocations: 47.22 MB / 0.7001 GB, free: 4.207 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0152/0.6538, allocations: 5.161 MB / 0.7051 GB, free: 15.01 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004137/0.6579, allocations: 2.696 MB / 0.7077 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.01573/0.6736, allocations: 8.421 MB / 0.716 GB, free: 3.828 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.662e-05/0.6737, allocations: 55.88 kB / 0.716 GB, free: 3.766 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=206): time 1.125e-05/0.6737, allocations: 0 / 0.716 GB, free: 3.766 MB / 0.545 GB
Notification: Performance of matching and sorting (n=262): time 0.4458/1.119, allocations: 34.99 MB / 0.7502 GB, free: 151.2 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.371e-05/1.12, allocations: 210.1 kB / 0.7504 GB, free: 151 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006819/1.126, allocations: 4.774 MB / 0.755 GB, free: 149.3 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0005132/1.127, allocations: 61.3 kB / 0.7551 GB, free: 149.3 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.129, allocations: 3.675 MB / 0.7587 GB, free: 146.7 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009032/1.13, allocations: 1.017 MB / 0.7597 GB, free: 145.8 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/1.132, allocations: 1.436 MB / 0.7611 GB, free: 145 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 7.259e-05/1.132, allocations: 305.1 kB / 0.7614 GB, free: 144.7 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/1.135, allocations: 3.174 MB / 0.7645 GB, free: 141.8 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005165/1.14, allocations: 7.042 MB / 0.7714 GB, free: 132.9 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.009449/1.15, allocations: 10.95 MB / 0.7821 GB, free: 120.1 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.533e-05/1.15, allocations: 36 kB / 0.7821 GB, free: 120 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=914) (initialization): time 0.02302/1.173, allocations: 13.71 MB / 0.7955 GB, free: 106.3 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 7.079e-05/1.173, allocations: 60 kB / 0.7955 GB, free: 106.2 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.606e-05/1.173, allocations: 136.9 kB / 0.7957 GB, free: 106.1 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0112/1.184, allocations: 4.39 MB / 0.8 GB, free: 101.7 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004937/1.189, allocations: 1.485 MB / 0.8014 GB, free: 100.2 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03261/1.222, allocations: 28.71 MB / 0.8294 GB, free: 71.2 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006/1.228, allocations: 415.4 kB / 0.8298 GB, free: 70.79 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009303/1.229, allocations: 418 kB / 0.8302 GB, free: 70.39 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.003287/1.232, allocations: 2.475 MB / 0.8327 GB, free: 67.91 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008331/1.233, allocations: 457 kB / 0.8331 GB, free: 67.46 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01483/1.248, allocations: 8.416 MB / 0.8413 GB, free: 59.02 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/1.248, allocations: 31.94 kB / 0.8413 GB, free: 58.98 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.939e-05/1.248, allocations: 18.88 kB / 0.8414 GB, free: 58.97 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.941e-05/1.248, allocations: 12.09 kB / 0.8414 GB, free: 58.96 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.274, allocations: 16.83 MB / 0.8578 GB, free: 42.03 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-05/1.274, allocations: 4 kB / 0.8578 GB, free: 42.03 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.275, allocations: 300.1 kB / 0.8581 GB, free: 41.73 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.009576/1.285, allocations: 3.965 MB / 0.862 GB, free: 37.75 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003409/1.285, allocations: 48 kB / 0.862 GB, free: 37.71 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02938/1.315, allocations: 27.49 MB / 0.8889 GB, free: 9.863 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.315, allocations: 4 kB / 0.8889 GB, free: 9.859 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/1.334, allocations: 12.41 MB / 0.901 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001535/1.336, allocations: 440.8 kB / 0.9014 GB, free: 12.88 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007254/1.336, allocations: 47.92 kB / 0.9015 GB, free: 12.83 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.339, allocations: 175.8 kB / 0.9016 GB, free: 12.66 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007271/1.339, allocations: 209.8 kB / 0.9018 GB, free: 12.46 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002123/1.34, allocations: 68 kB / 0.9019 GB, free: 12.39 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.004572/1.344, allocations: 3.005 MB / 0.9048 GB, free: 9.395 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1e-07/1.344, allocations: 0 / 0.9048 GB, free: 9.395 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.006642/1.351, allocations: 1.449 MB / 0.9062 GB, free: 7.945 MB / 0.5762 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.0006272/1.351, allocations: 190.5 kB / 0.9064 GB, free: 7.754 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.01468/1.366, allocations: 8.145 MB / 0.9144 GB, free: 15.59 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.366, allocations: 8.906 kB / 0.9144 GB, free: 15.58 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.006111/1.372, allocations: 3.32 MB / 0.9176 GB, free: 12.23 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/1.379, allocations: 0.5794 MB / 0.9182 GB, free: 11.66 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03407/1.413, allocations: 12.7 MB / 0.9306 GB, free: 14.86 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005355/1.418, allocations: 3.915 MB / 0.9344 GB, free: 10.91 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 0.004762/1.423, allocations: 2.007 MB / 0.9364 GB, free: 8.898 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008651/1.424, allocations: 275.4 kB / 0.9366 GB, free: 8.629 MB / 0.6075 GB
Notification: Performance of SimCode: time 8.12e-07/1.424, allocations: 0 / 0.9366 GB, free: 8.629 MB / 0.6075 GB
Notification: Performance of Templates: time 0.424/1.848, allocations: 74.9 MB / 1.01 GB, free: 195.2 MB / 0.6387 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 8.435882614925504]