Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 176 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 223.3 MB / 241.4 MB, free: 9.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008167/0.0008165, allocations: 100.1 kB / 292.6 MB, free: 10.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003075/0.0003076, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2083, allocations: 50.41 MB / 402.8 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.3212, allocations: 105.4 MB / 0.4962 GB, free: 6.922 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3215, allocations: 95.95 kB / 0.4963 GB, free: 6.828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4084/0.7299, allocations: 111.1 MB / 0.6048 GB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7299, allocations: 0 / 0.6048 GB, free: 8.652 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001857/0.7301, allocations: 111.9 kB / 0.6049 GB, free: 8.543 MB / 378.7 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.01028/0.7404, allocations: 5.246 MB / 0.61 GB, free: 3.219 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7404, allocations: 8.031 kB / 0.61 GB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0198/0.7602, allocations: 5.247 MB / 0.6151 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.7718, allocations: 5.336 MB / 0.6203 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.7721, allocations: 390.7 kB / 0.6207 GB, free: 8.172 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001838/0.774, allocations: 0.5235 MB / 0.6212 GB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/0.7988, allocations: 12.51 MB / 0.6334 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001947/0.7991, allocations: 71.39 kB / 0.6335 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007078/0.7998, allocations: 239.9 kB / 0.6337 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001299/0.8011, allocations: 1.051 MB / 0.6347 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02072/0.8218, allocations: 10.36 MB / 0.6449 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2475/1.069, allocations: 50.07 MB / 0.6938 GB, free: 44.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/1.08, allocations: 4.804 MB / 0.6984 GB, free: 44.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/1.083, allocations: 1.909 MB / 0.7003 GB, free: 44.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00914/1.092, allocations: 6.945 MB / 0.7071 GB, free: 42.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/1.092, allocations: 56.64 kB / 0.7071 GB, free: 42.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 4.829e-06/1.092, allocations: 0 / 0.7071 GB, free: 42.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.0588/1.151, allocations: 19.99 MB / 0.7267 GB, free: 38.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.109e-05/1.151, allocations: 211 kB / 0.7269 GB, free: 38.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006198/1.157, allocations: 4.405 MB / 0.7312 GB, free: 38.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005763/1.158, allocations: 56.73 kB / 0.7312 GB, free: 38.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002527/1.16, allocations: 3.576 MB / 0.7347 GB, free: 36.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.161, allocations: 0.8394 MB / 0.7355 GB, free: 36.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/1.162, allocations: 128.9 kB / 0.7357 GB, free: 36.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003025/1.162, allocations: 0.5675 MB / 0.7362 GB, free: 35.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/1.165, allocations: 2.166 MB / 0.7383 GB, free: 35.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/1.169, allocations: 5.938 MB / 0.7441 GB, free: 29.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008161/1.177, allocations: 8.837 MB / 0.7528 GB, free: 22.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/1.177, allocations: 38.09 kB / 0.7528 GB, free: 22.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.01585/1.193, allocations: 8.797 MB / 0.7614 GB, free: 19.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.193, allocations: 63.5 kB / 0.7614 GB, free: 19.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/1.193, allocations: 131.1 kB / 0.7616 GB, free: 19.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002856/1.196, allocations: 1.024 MB / 0.7626 GB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/1.201, allocations: 1.418 MB / 0.764 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008106/1.209, allocations: 6.942 MB / 0.7707 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004978/1.214, allocations: 333.8 kB / 0.7711 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009993/1.215, allocations: 383.6 kB / 0.7714 GB, free: 11.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * 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 (771): * Single equations (assignments): 767 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004502/1.219, allocations: 2.488 MB / 0.7738 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008981/1.22, allocations: 406.7 kB / 0.7742 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006347/1.226, allocations: 3.67 MB / 0.7778 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.878e-05/1.227, allocations: 24 kB / 0.7778 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.227, allocations: 11.42 kB / 0.7779 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/1.227, allocations: 7.406 kB / 0.7779 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01921/1.246, allocations: 10.05 MB / 0.7877 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-05/1.246, allocations: 12.28 kB / 0.7877 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001598/1.247, allocations: 356.4 kB / 0.788 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002661/1.25, allocations: 0.802 MB / 0.7888 GB, free: 13.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/1.25, allocations: 43.94 kB / 0.7889 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007835/1.258, allocations: 5.651 MB / 0.7944 GB, free: 8.496 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/1.258, allocations: 7.938 kB / 0.7944 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01067/1.269, allocations: 6.324 MB / 0.8006 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/1.271, allocations: 446.5 kB / 0.801 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007349/1.271, allocations: 52.09 kB / 0.801 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.273, allocations: 98.77 kB / 0.8011 GB, free: 2.359 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000355/1.273, allocations: 151.6 kB / 0.8013 GB, free: 2.258 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.274, allocations: 61.02 kB / 0.8013 GB, free: 2.199 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005181/1.279, allocations: 2.785 MB / 0.804 GB, free: 0 / 442.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.279, allocations: 2.844 kB / 0.804 GB, free: 0 / 442.7 MB Notification: Performance of remove unused functions: time 0.006956/1.286, allocations: 1.235 MB / 0.8053 GB, free: 14.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (176): * Single equations (assignments): 172 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006658/1.286, allocations: 227.8 kB / 0.8055 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008941/1.295, allocations: 5.413 MB / 0.8108 GB, free: 9.957 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.295, allocations: 0 / 0.8108 GB, free: 9.957 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002872/1.298, allocations: 1.808 MB / 0.8125 GB, free: 8.344 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006476/1.305, allocations: 0.5335 MB / 0.813 GB, free: 7.879 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02171/1.327, allocations: 13.02 MB / 0.8258 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004907/1.331, allocations: 3.873 MB / 0.8295 GB, free: 7.684 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005521/1.337, allocations: 1.946 MB / 0.8314 GB, free: 5.746 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008304/1.338, allocations: 275.4 kB / 0.8317 GB, free: 5.477 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/1.338, allocations: 0 / 0.8317 GB, free: 5.477 MB / 474.7 MB Notification: Performance of Templates: time 0.276/1.614, allocations: 41.65 MB / 0.8724 GB, free: 112.2 MB / 474.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches