Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001844/0.001844, allocations: 105.1 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.002254/0.002254, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.586/1.586, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB
"
[Timeout remaining time 178]
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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 63.89 kB / 378.8 MB, free: 2.77 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2524, allocations: 53.36 MB / 432.1 MB, free: 7.055 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01677/0.2692, allocations: 13.54 MB / 445.7 MB, free: 9.457 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01069/0.2799, allocations: 4.933 MB / 450.6 MB, free: 4.512 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002013/0.2819, allocations: 107.4 kB / 450.7 MB, free: 4.406 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.008287/0.2902, allocations: 4.233 MB / 455 MB, free: 164 kB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006113/0.2963, allocations: 2.175 MB / 457.1 MB, free: 13.98 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.2994, allocations: 1.119 MB / 458.3 MB, free: 12.86 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009442/0.3088, allocations: 6.064 MB / 464.3 MB, free: 6.785 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.005718/0.3145, allocations: 3.783 MB / 468.1 MB, free: 2.938 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004432/0.3189, allocations: 2.189 MB / 470.3 MB, free: 0.7422 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005455/0.3244, allocations: 3.089 MB / 473.4 MB, free: 13.64 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002079/0.3265, allocations: 0.4922 MB / 473.9 MB, free: 13.15 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004526/0.331, allocations: 1.666 MB / 475.5 MB, free: 11.48 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003571/0.3346, allocations: 2.641 MB / 478.2 MB, free: 8.836 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004471/0.339, allocations: 2.891 MB / 481.1 MB, free: 5.93 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01266/0.3517, allocations: 9.519 MB / 490.6 MB, free: 12.38 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3517, allocations: 0 / 490.6 MB, free: 12.38 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.723e-06/0.3517, allocations: 0 / 490.6 MB, free: 12.38 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 0.0003079/0.352, allocations: 4 kB / 490.6 MB, free: 12.37 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.01679/0.3688, allocations: 6.093 MB / 496.7 MB, free: 6.211 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3689, allocations: 8.031 kB / 496.7 MB, free: 6.203 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.3813, allocations: 2.575 MB / 499.3 MB, free: 3.621 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.3914, allocations: 3.679 MB / 0.4912 GB, free: 15.89 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.3918, allocations: 312.2 kB / 0.4915 GB, free: 15.58 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/0.3937, allocations: 439.7 kB / 0.4919 GB, free: 15.15 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02647/0.4201, allocations: 12.41 MB / 0.504 GB, free: 1.996 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.4203, allocations: 51.59 kB / 0.504 GB, free: 1.945 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006723/0.421, allocations: 191.9 kB / 0.5042 GB, free: 1.758 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003662/0.4246, allocations: 2.035 MB / 0.5062 GB, free: 15.72 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02436/0.449, allocations: 10.58 MB / 0.5165 GB, free: 5.129 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2695/0.7185, allocations: 44.06 MB / 0.5596 GB, free: 70.5 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.7304, allocations: 4.255 MB / 0.5637 GB, free: 69.56 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002145/0.7326, allocations: 1.878 MB / 0.5656 GB, free: 68.8 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.009166/0.7418, allocations: 6.2 MB / 0.5716 GB, free: 65.79 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.7418, allocations: 55.45 kB / 0.5717 GB, free: 65.73 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=179): time 4.107e-06/0.7418, allocations: 5.906 kB / 0.5717 GB, free: 65.73 MB / 446.1 MB
Notification: Performance of matching and sorting (n=223): time 0.06165/0.8034, allocations: 19.67 MB / 0.5909 GB, free: 49.32 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.8035, allocations: 201.9 kB / 0.5911 GB, free: 49.07 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005019/0.8085, allocations: 4.477 MB / 0.5954 GB, free: 44.66 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000371/0.8089, allocations: 61.64 kB / 0.5955 GB, free: 44.6 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001799/0.8107, allocations: 3.644 MB / 0.5991 GB, free: 41.21 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0006953/0.8114, allocations: 0.8815 MB / 0.5999 GB, free: 40.34 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/0.8129, allocations: 1.346 MB / 0.6012 GB, free: 38.98 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 6.093e-05/0.8129, allocations: 301.1 kB / 0.6015 GB, free: 38.69 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002908/0.8158, allocations: 2.371 MB / 0.6038 GB, free: 36.31 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004194/0.82, allocations: 6.171 MB / 0.6099 GB, free: 28.29 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007586/0.8276, allocations: 9.176 MB / 0.6188 GB, free: 17.25 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.979e-05/0.8277, allocations: 40 kB / 0.6189 GB, free: 17.21 MB / 446.1 MB
Notification: Performance of matching and sorting (n=868) (initialization): time 0.01451/0.8422, allocations: 9.56 MB / 0.6282 GB, free: 7.645 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.544e-05/0.8422, allocations: 68.06 kB / 0.6283 GB, free: 7.578 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.8423, allocations: 132 kB / 0.6284 GB, free: 7.449 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003906/0.8463, allocations: 1.37 MB / 0.6297 GB, free: 6.074 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004124/0.8504, allocations: 1.478 MB / 0.6312 GB, free: 4.594 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/0.862, allocations: 8.369 MB / 0.6393 GB, free: 12.11 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005529/0.8676, allocations: 355.6 kB / 0.6397 GB, free: 11.77 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/0.8688, allocations: 391.7 kB / 0.6401 GB, free: 11.39 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.005024/0.8738, allocations: 2.493 MB / 0.6425 GB, free: 8.883 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008773/0.8747, allocations: 421.2 kB / 0.6429 GB, free: 8.469 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009182/0.8839, allocations: 4.108 MB / 0.6469 GB, free: 4.348 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.806e-05/0.8839, allocations: 24 kB / 0.6469 GB, free: 4.324 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.8839, allocations: 4 kB / 0.6469 GB, free: 4.32 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.884, allocations: 11.97 kB / 0.6469 GB, free: 4.309 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/0.9083, allocations: 10.09 MB / 0.6568 GB, free: 10.12 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/0.9083, allocations: 8 kB / 0.6568 GB, free: 10.11 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.91, allocations: 331.5 kB / 0.6571 GB, free: 9.785 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004397/0.9144, allocations: 1.152 MB / 0.6582 GB, free: 8.629 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003569/0.9147, allocations: 40 kB / 0.6583 GB, free: 8.59 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.9266, allocations: 7.052 MB / 0.6652 GB, free: 1.426 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/0.9266, allocations: 8 kB / 0.6652 GB, free: 1.418 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/0.9404, allocations: 6.919 MB / 0.6719 GB, free: 10.42 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.942, allocations: 401 kB / 0.6723 GB, free: 10.03 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001182/0.9432, allocations: 40 kB / 0.6724 GB, free: 9.988 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002441/0.9456, allocations: 112.9 kB / 0.6725 GB, free: 9.879 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/0.9461, allocations: 156.9 kB / 0.6726 GB, free: 9.727 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002119/0.9463, allocations: 64 kB / 0.6727 GB, free: 9.664 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.005812/0.9521, allocations: 2.798 MB / 0.6754 GB, free: 6.863 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.9521, allocations: 0 / 0.6754 GB, free: 6.863 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.006341/0.9585, allocations: 1.195 MB / 0.6766 GB, free: 5.672 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.0006978/0.9592, allocations: 230.4 kB / 0.6768 GB, free: 5.438 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.01061/0.9698, allocations: 5.541 MB / 0.6822 GB, free: 15.91 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.9698, allocations: 0 / 0.6822 GB, free: 15.91 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 0.003619/0.9734, allocations: 1.749 MB / 0.6839 GB, free: 14.15 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005015/0.9784, allocations: 0.5513 MB / 0.6845 GB, free: 13.61 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02618/1.005, allocations: 11.31 MB / 0.6955 GB, free: 2.191 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006984/1.012, allocations: 3.867 MB / 0.6993 GB, free: 14.29 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.005505/1.017, allocations: 1.934 MB / 0.7012 GB, free: 12.35 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009631/1.018, allocations: 263.4 kB / 0.7014 GB, free: 12.09 MB / 0.5137 GB
Notification: Performance of SimCode: time 2.324e-06/1.018, allocations: 0 / 0.7014 GB, free: 12.09 MB / 0.5137 GB
Notification: Performance of Templates: time 0.3312/1.349, allocations: 46.71 MB / 0.747 GB, free: 190.9 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.249946992844343]