Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001548/0.001548, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00183/0.00183, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.055 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic")
translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex 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.
Warning: Requested package ModelicaServices 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.001977/0.001977, allocations: 56.78 kB / 379 MB, free: 2.684 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2468, allocations: 53.37 MB / 432.4 MB, free: 6.965 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01654/0.2634, allocations: 13.55 MB / 446 MB, free: 9.359 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01179/0.2752, allocations: 4.931 MB / 450.9 MB, free: 4.418 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.2784, allocations: 103.5 kB / 451 MB, free: 4.316 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.009738/0.2881, allocations: 4.241 MB / 455.2 MB, free: 64 kB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006721/0.2949, allocations: 2.179 MB / 457.4 MB, free: 13.87 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003107/0.298, allocations: 1.107 MB / 458.5 MB, free: 12.76 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009844/0.3078, allocations: 6.071 MB / 464.6 MB, free: 6.684 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00623/0.314, allocations: 3.785 MB / 468.4 MB, free: 2.836 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004188/0.3182, allocations: 2.189 MB / 470.6 MB, free: 0.6406 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005148/0.3234, allocations: 3.085 MB / 473.6 MB, free: 13.55 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001518/0.3249, allocations: 0.4922 MB / 474.1 MB, free: 13.05 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003878/0.3288, allocations: 1.67 MB / 475.8 MB, free: 11.38 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003808/0.3326, allocations: 2.645 MB / 478.4 MB, free: 8.73 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004313/0.3369, allocations: 2.875 MB / 481.3 MB, free: 5.84 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01222/0.3491, allocations: 9.519 MB / 490.8 MB, free: 12.29 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3491, allocations: 0 / 490.8 MB, free: 12.29 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.014e-06/0.3491, allocations: 0 / 490.8 MB, free: 12.29 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 0.0002421/0.3494, allocations: 7.938 kB / 490.9 MB, free: 12.28 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1743
 * Number of variables: 1743
Notification: Performance of Generate backend data structure: time 0.01411/0.3635, allocations: 6.091 MB / 496.9 MB, free: 6.121 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3635, allocations: 8.031 kB / 497 MB, free: 6.113 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/0.3747, allocations: 2.575 MB / 499.5 MB, free: 3.531 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/0.386, allocations: 3.683 MB / 0.4914 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003452/0.3864, allocations: 308.2 kB / 0.4917 GB, free: 15.49 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/0.3884, allocations: 447.6 kB / 0.4921 GB, free: 15.05 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02943/0.4178, allocations: 12.41 MB / 0.5043 GB, free: 1.898 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000264/0.4181, allocations: 47.59 kB / 0.5043 GB, free: 1.852 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/0.4197, allocations: 195.8 kB / 0.5045 GB, free: 1.66 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003785/0.4235, allocations: 2.031 MB / 0.5065 GB, free: 15.63 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02541/0.4489, allocations: 10.58 MB / 0.5168 GB, free: 5.035 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2985/0.7474, allocations: 44.06 MB / 0.5598 GB, free: 71.52 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01156/0.759, allocations: 4.249 MB / 0.564 GB, free: 70.62 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/0.7615, allocations: 1.877 MB / 0.5658 GB, free: 69.86 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.7724, allocations: 6.199 MB / 0.5719 GB, free: 66.86 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.7725, allocations: 52.84 kB / 0.5719 GB, free: 66.8 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=179): time 4.859e-06/0.7725, allocations: 0 / 0.5719 GB, free: 66.8 MB / 446.1 MB
Notification: Performance of matching and sorting (n=223): time 0.06269/0.8351, allocations: 19.67 MB / 0.5911 GB, free: 50.34 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.8352, allocations: 209.9 kB / 0.5913 GB, free: 50.09 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/0.8403, allocations: 4.465 MB / 0.5957 GB, free: 45.61 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0003389/0.8406, allocations: 57.7 kB / 0.5957 GB, free: 45.54 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.842, allocations: 3.652 MB / 0.5993 GB, free: 41.91 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005989/0.8426, allocations: 0.8751 MB / 0.6002 GB, free: 41.04 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/0.8439, allocations: 1.353 MB / 0.6015 GB, free: 39.68 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 4.339e-05/0.844, allocations: 301.1 kB / 0.6018 GB, free: 39.38 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002825/0.8468, allocations: 2.371 MB / 0.6041 GB, free: 37.01 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004137/0.8509, allocations: 6.169 MB / 0.6101 GB, free: 29 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007725/0.8587, allocations: 9.181 MB / 0.6191 GB, free: 17.96 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.002e-05/0.8587, allocations: 40 kB / 0.6191 GB, free: 17.93 MB / 446.1 MB
Notification: Performance of matching and sorting (n=868) (initialization): time 0.01453/0.8733, allocations: 9.554 MB / 0.6284 GB, free: 8.359 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.8733, allocations: 64 kB / 0.6285 GB, free: 8.297 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001015/0.8734, allocations: 132 kB / 0.6286 GB, free: 8.168 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003815/0.8772, allocations: 1.374 MB / 0.63 GB, free: 6.789 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004107/0.8813, allocations: 1.482 MB / 0.6314 GB, free: 5.305 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.8924, allocations: 8.372 MB / 0.6396 GB, free: 12.82 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004675/0.897, allocations: 347.7 kB / 0.6399 GB, free: 12.48 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006445/0.8977, allocations: 395.6 kB / 0.6403 GB, free: 12.1 MB / 462.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 605
 * Number of states: 0 ()
 * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (804):
 * Single equations (assignments): 800
 * 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,40,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.004027/0.9017, allocations: 2.493 MB / 0.6427 GB, free: 9.598 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007697/0.9025, allocations: 421.1 kB / 0.6431 GB, free: 9.184 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008881/0.9114, allocations: 4.11 MB / 0.6472 GB, free: 5.059 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.642e-05/0.9114, allocations: 24 kB / 0.6472 GB, free: 5.035 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.9114, allocations: 4 kB / 0.6472 GB, free: 5.031 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.557e-05/0.9114, allocations: 15.95 kB / 0.6472 GB, free: 5.016 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/0.9315, allocations: 10.09 MB / 0.6571 GB, free: 10.83 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.619e-05/0.9316, allocations: 8 kB / 0.6571 GB, free: 10.82 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.9331, allocations: 331.5 kB / 0.6574 GB, free: 10.5 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003892/0.937, allocations: 1.148 MB / 0.6585 GB, free: 9.348 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002134/0.9372, allocations: 44 kB / 0.6585 GB, free: 9.305 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/0.9486, allocations: 7.06 MB / 0.6654 GB, free: 2.133 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/0.9486, allocations: 8 kB / 0.6654 GB, free: 2.125 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/0.9619, allocations: 6.919 MB / 0.6722 GB, free: 11.12 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.9632, allocations: 401 kB / 0.6726 GB, free: 10.73 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005172/0.9637, allocations: 40 kB / 0.6726 GB, free: 10.69 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.9654, allocations: 119.9 kB / 0.6727 GB, free: 10.57 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003873/0.9658, allocations: 148.9 kB / 0.6729 GB, free: 10.43 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001596/0.9659, allocations: 60 kB / 0.6729 GB, free: 10.37 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.004946/0.9709, allocations: 2.802 MB / 0.6757 GB, free: 7.566 MB / 494.1 MB
Notification: Performance of sort global known variables: time 2.3e-07/0.9709, allocations: 4 kB / 0.6757 GB, free: 7.562 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.005827/0.9767, allocations: 1.198 MB / 0.6768 GB, free: 6.367 MB / 494.1 MB
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 (173):
 * Single equations (assignments): 169
 * 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,30,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006506/0.9773, allocations: 218.2 kB / 0.677 GB, free: 6.145 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.01018/0.9875, allocations: 5.536 MB / 0.6825 GB, free: 0.625 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.9875, allocations: 0.875 kB / 0.6825 GB, free: 0.625 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.003176/0.9907, allocations: 1.758 MB / 0.6842 GB, free: 14.86 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/0.9941, allocations: 0.5449 MB / 0.6847 GB, free: 14.31 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/1.016, allocations: 11.3 MB / 0.6957 GB, free: 2.898 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00506/1.021, allocations: 3.863 MB / 0.6995 GB, free: 15 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.004821/1.026, allocations: 1.934 MB / 0.7014 GB, free: 13.06 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008636/1.027, allocations: 267.4 kB / 0.7017 GB, free: 12.8 MB / 0.5137 GB
Notification: Performance of SimCode: time 1.453e-06/1.027, allocations: 0 / 0.7017 GB, free: 12.8 MB / 0.5137 GB
Notification: Performance of Templates: time 0.3328/1.359, allocations: 46.72 MB / 0.7473 GB, free: 191.8 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.323499794118106]