Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.164/1.164, allocations: 205.1 MB / 223.7 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009307/0.0009307, allocations: 97.58 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007995/0.0007996, allocations: 43.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1917, allocations: 46.62 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.0535/0.2452, allocations: 75.43 MB / 449.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02955/0.2748, allocations: 14.97 MB / 464.2 MB, free: 6.789 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01197/0.2869, allocations: 335.1 kB / 464.6 MB, free: 6.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007328/0.2942, allocations: 4.442 MB / 469 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00595/0.3002, allocations: 2.393 MB / 471.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002358/0.3026, allocations: 1.061 MB / 472.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.313, allocations: 10.55 MB / 483 MB, free: 3.973 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00574/0.3187, allocations: 5.203 MB / 488.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003255/0.322, allocations: 2.23 MB / 490.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/0.3265, allocations: 3.61 MB / 494 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.3277, allocations: 352 kB / 494.4 MB, free: 8.492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.3305, allocations: 1.397 MB / 495.8 MB, free: 7.094 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002793/0.3333, allocations: 2.844 MB / 498.6 MB, free: 4.242 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002786/0.3361, allocations: 3.219 MB / 0.4901 GB, free: 1.004 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1781/0.5142, allocations: 9.932 MB / 0.4998 GB, free: 17.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5143, allocations: 2.344 kB / 0.4998 GB, free: 17.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.5143, allocations: 0.625 kB / 0.4998 GB, free: 17.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001675/0.5145, allocations: 1.312 kB / 0.4998 GB, free: 17.25 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.01326/0.5277, allocations: 7.627 MB / 0.5072 GB, free: 14.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5278, allocations: 8.875 kB / 0.5072 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/0.5412, allocations: 3.191 MB / 0.5104 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009116/0.5504, allocations: 4.883 MB / 0.5151 GB, free: 13.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.5506, allocations: 334.5 kB / 0.5155 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008701/0.5514, allocations: 467.9 kB / 0.5159 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02211/0.5735, allocations: 14.57 MB / 0.5301 GB, free: 9.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000218/0.5738, allocations: 70.31 kB / 0.5302 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008411/0.5747, allocations: 209.1 kB / 0.5304 GB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004248/0.5789, allocations: 2.84 MB / 0.5332 GB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02061/0.5995, allocations: 13.21 MB / 0.5461 GB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06934/0.6689, allocations: 58.55 MB / 0.6032 GB, free: 3.715 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/0.6855, allocations: 7.732 MB / 0.6108 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005989/0.6916, allocations: 5.049 MB / 0.6157 GB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02089/0.7125, allocations: 12.81 MB / 0.6282 GB, free: 9.934 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.714e-05/0.7126, allocations: 64.7 kB / 0.6283 GB, free: 9.859 MB / 474.7 MB Notification: Performance of pre-optimization done (n=326): time 6.422e-06/0.7126, allocations: 0 / 0.6283 GB, free: 9.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=572): time 1.724/2.437, allocations: 411.5 MB / 1.03 GB, free: 97.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.865e-05/2.437, allocations: 265.6 kB / 1.03 GB, free: 96.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006051/2.443, allocations: 5.495 MB / 1.036 GB, free: 91.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001622/2.444, allocations: 115.3 kB / 1.036 GB, free: 91.33 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0016/2.446, allocations: 3.942 MB / 1.04 GB, free: 87.41 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002448/2.449, allocations: 2.008 MB / 1.042 GB, free: 85.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00384/2.452, allocations: 2.184 MB / 1.044 GB, free: 83.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.627e-05/2.452, allocations: 305.1 kB / 1.044 GB, free: 82.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01129/2.464, allocations: 11.06 MB / 1.055 GB, free: 71.85 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01347/2.477, allocations: 15.24 MB / 1.07 GB, free: 54.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02618/2.503, allocations: 27.46 MB / 1.097 GB, free: 25.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000105/2.504, allocations: 40 kB / 1.097 GB, free: 25.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.4452/2.949, allocations: 141.1 MB / 1.234 GB, free: 97.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.709e-05/2.949, allocations: 65.41 kB / 1.234 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.664e-05/2.949, allocations: 140 kB / 1.235 GB, free: 96.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0697/3.019, allocations: 34.69 MB / 1.268 GB, free: 62.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/3.023, allocations: 1.571 MB / 1.27 GB, free: 60.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.366/3.389, allocations: 190.6 MB / 1.456 GB, free: 82.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/3.401, allocations: 1.72 MB / 1.458 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/3.403, allocations: 0.5419 MB / 1.458 GB, free: 80.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[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 (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.004528/3.407, allocations: 3.107 MB / 1.461 GB, free: 77.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001401/3.409, allocations: 0.5694 MB / 1.462 GB, free: 77.39 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4499/3.859, allocations: 136.7 MB / 1.595 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-05/3.859, allocations: 56 kB / 1.595 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001275/3.859, allocations: 63.22 kB / 1.595 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-05/3.859, allocations: 31.83 kB / 1.596 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4918/4.351, allocations: 206.2 MB / 1.797 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.407e-05/4.351, allocations: 10.25 kB / 1.797 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001374/4.352, allocations: 330.5 kB / 1.797 GB, free: 162 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06604/4.418, allocations: 33.85 MB / 1.83 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/4.419, allocations: 96 kB / 1.83 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.343/4.762, allocations: 173.4 MB / 2 GB, free: 156 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/4.762, allocations: 5.688 kB / 2 GB, free: 156 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.318/12.08, allocations: 2.493 GB / 4.493 GB, free: 148.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008235/12.09, allocations: 3.009 MB / 4.496 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001848/12.09, allocations: 98.75 kB / 4.496 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00853/12.1, allocations: 1.482 MB / 4.497 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003381/12.1, allocations: 0.4912 MB / 4.498 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008033/12.1, allocations: 142.9 kB / 4.498 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00428/12.11, allocations: 3.503 MB / 4.501 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/12.11, allocations: 0 / 4.501 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01791/12.13, allocations: 7.023 MB / 4.508 GB, free: 148.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001154/12.13, allocations: 240.3 kB / 4.508 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.04705/12.17, allocations: 33.7 MB / 4.541 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/12.17, allocations: 5.781 kB / 4.541 GB, free: 145.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.03564/12.21, allocations: 20.51 MB / 4.561 GB, free: 129.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00534/12.22, allocations: 0.7486 MB / 4.562 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1432/12.36, allocations: 70.43 MB / 4.631 GB, free: 67.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007354/12.37, allocations: 5.482 MB / 4.636 GB, free: 61.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004559/12.37, allocations: 2.072 MB / 4.638 GB, free: 59.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007847/12.37, allocations: 315.4 kB / 4.639 GB, free: 59.31 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/12.37, allocations: 0 / 4.639 GB, free: 59.31 MB / 0.4948 GB Notification: Performance of Templates: time 0.9814/13.35, allocations: 0.512 GB / 5.151 GB, free: 36.91 MB / 0.4948 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches