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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 109.4 kB / 18.78 MB, free: 3.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 207.2 kB / 19.79 MB, free: 2.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 251.1 MB, free: 8.469 MB / 206.1 MB 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.00196/0.00196, allocations: 71.81 kB / 369 MB, free: 6.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2768, allocations: 53.31 MB / 422.3 MB, free: 7.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01552/0.2923, allocations: 13.51 MB / 435.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.3032, allocations: 4.9 MB / 440.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.3061, allocations: 87.75 kB / 440.8 MB, free: 5.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009169/0.3152, allocations: 4.229 MB / 445 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007399/0.3226, allocations: 2.167 MB / 447.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.3257, allocations: 1.103 MB / 448.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009221/0.335, allocations: 6.055 MB / 454.3 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006597/0.3415, allocations: 4.411 MB / 458.7 MB, free: 3.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/0.3455, allocations: 2.162 MB / 460.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.3506, allocations: 3.085 MB / 464 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001512/0.3521, allocations: 0.4922 MB / 464.5 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00368/0.3558, allocations: 1.666 MB / 466.1 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003181/0.3589, allocations: 2.645 MB / 468.8 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00347/0.3624, allocations: 2.883 MB / 471.7 MB, free: 6.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.3744, allocations: 9.519 MB / 481.2 MB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3744, allocations: 0 / 481.2 MB, free: 12.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3744, allocations: 0 / 481.2 MB, free: 12.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002826/0.3746, allocations: 0 / 481.2 MB, free: 12.68 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.01538/0.39, allocations: 6.168 MB / 487.3 MB, free: 6.422 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.3901, allocations: 11.97 kB / 487.4 MB, free: 6.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.4012, allocations: 2.571 MB / 489.9 MB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009741/0.4109, allocations: 3.774 MB / 493.7 MB, free: 0 / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004723/0.4114, allocations: 304.3 kB / 494 MB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002753/0.4141, allocations: 447.5 kB / 494.4 MB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02731/0.4414, allocations: 12.42 MB / 0.495 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/0.4417, allocations: 47.59 kB / 0.495 GB, free: 2.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001547/0.4433, allocations: 191.9 kB / 0.4952 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003969/0.4472, allocations: 2.035 MB / 0.4972 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02684/0.4741, allocations: 10.57 MB / 0.5075 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.314/0.7881, allocations: 44.2 MB / 0.5507 GB, free: 86.45 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.7994, allocations: 4.697 MB / 0.5553 GB, free: 85.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/0.8016, allocations: 1.882 MB / 0.5571 GB, free: 85.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009441/0.811, allocations: 7.217 MB / 0.5642 GB, free: 82.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.811, allocations: 54.56 kB / 0.5642 GB, free: 82.25 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 3.617e-06/0.811, allocations: 0 / 0.5642 GB, free: 82.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.05788/0.8689, allocations: 19.75 MB / 0.5835 GB, free: 68.82 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.869, allocations: 205.5 kB / 0.5837 GB, free: 68.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00613/0.8751, allocations: 4.48 MB / 0.5881 GB, free: 64.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007663/0.8759, allocations: 57.7 kB / 0.5881 GB, free: 64.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00244/0.8783, allocations: 3.645 MB / 0.5917 GB, free: 60.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009607/0.8793, allocations: 0.8776 MB / 0.5925 GB, free: 59.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001583/0.8808, allocations: 1.353 MB / 0.5939 GB, free: 58.48 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/0.8809, allocations: 301.1 kB / 0.5941 GB, free: 58.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.8836, allocations: 2.371 MB / 0.5965 GB, free: 55.81 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00388/0.8874, allocations: 6.168 MB / 0.6025 GB, free: 47.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007452/0.8949, allocations: 9.172 MB / 0.6114 GB, free: 36.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.648e-05/0.895, allocations: 40 kB / 0.6115 GB, free: 36.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01452/0.9095, allocations: 9.564 MB / 0.6208 GB, free: 27.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.187e-05/0.9095, allocations: 60 kB / 0.6209 GB, free: 27.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.9097, allocations: 132 kB / 0.621 GB, free: 27.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003724/0.9134, allocations: 1.369 MB / 0.6223 GB, free: 25.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004469/0.9179, allocations: 1.478 MB / 0.6238 GB, free: 24.31 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009753/0.9276, allocations: 8.483 MB / 0.6321 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/0.9325, allocations: 359.5 kB / 0.6324 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009978/0.9335, allocations: 384 kB / 0.6328 GB, free: 14.97 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.00398/0.9375, allocations: 2.489 MB / 0.6352 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009121/0.9384, allocations: 421.2 kB / 0.6356 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007933/0.9464, allocations: 4.114 MB / 0.6396 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.309e-05/0.9464, allocations: 24 kB / 0.6396 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/0.9464, allocations: 11.84 kB / 0.6397 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.9464, allocations: 11.91 kB / 0.6397 GB, free: 7.883 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01956/0.966, allocations: 10.13 MB / 0.6496 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/0.966, allocations: 4 kB / 0.6496 GB, free: 13.64 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001668/0.9677, allocations: 331.5 kB / 0.6499 GB, free: 13.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004052/0.9717, allocations: 1.144 MB / 0.651 GB, free: 12.16 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003196/0.9721, allocations: 40 kB / 0.651 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/0.9834, allocations: 7.157 MB / 0.658 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.9834, allocations: 7.938 kB / 0.658 GB, free: 4.824 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/0.9966, allocations: 6.917 MB / 0.6648 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001906/0.9985, allocations: 478.1 kB / 0.6652 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009533/0.9994, allocations: 44 kB / 0.6653 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002365/1.002, allocations: 111.9 kB / 0.6654 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004733/1.002, allocations: 141.1 kB / 0.6655 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/1.002, allocations: 67.98 kB / 0.6656 GB, free: 12.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005905/1.008, allocations: 2.795 MB / 0.6683 GB, free: 10.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.1e-08/1.008, allocations: 0 / 0.6683 GB, free: 10.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006213/1.015, allocations: 1.203 MB / 0.6695 GB, free: 8.98 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.0006321/1.015, allocations: 230.4 kB / 0.6697 GB, free: 8.754 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009864/1.025, allocations: 5.536 MB / 0.6751 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.025, allocations: 0 / 0.6751 GB, free: 3.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00297/1.028, allocations: 1.745 MB / 0.6768 GB, free: 1.469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/1.031, allocations: 0.5304 MB / 0.6773 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02152/1.053, allocations: 11.33 MB / 0.6884 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00523/1.058, allocations: 3.859 MB / 0.6922 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005145/1.063, allocations: 1.934 MB / 0.6941 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008718/1.064, allocations: 267.4 kB / 0.6943 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of SimCode: time 2.364e-06/1.064, allocations: 0 / 0.6943 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of Templates: time 0.0955/1.16, allocations: 43.05 MB / 0.7364 GB, free: 4.641 MB / 0.545 GB 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] Reference file matches