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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000992/0.0009918, allocations: 101.7 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001133/0.001134, allocations: 204 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.2 MB / 245.9 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002407/0.0002407, allocations: 7.984 kB / 306.6 MB, free: 1.406 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09128/0.09154, allocations: 51.5 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2197/0.3113, allocations: 47.44 MB / 405.5 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0311/0.3424, allocations: 11.81 MB / 417.3 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01288/0.3554, allocations: 239.2 kB / 417.6 MB, free: 92 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008534/0.3639, allocations: 2.35 MB / 419.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02273/0.3867, allocations: 6.768 MB / 426.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004473/0.3912, allocations: 0.897 MB / 427.6 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.06652/0.4577, allocations: 47.75 MB / 475.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009319/0.4671, allocations: 6.517 MB / 481.8 MB, free: 15.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.4696, allocations: 1.343 MB / 483.2 MB, free: 14.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.4719, allocations: 1.76 MB / 484.9 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005198/0.4725, allocations: 188 kB / 485.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002109/0.4746, allocations: 1.139 MB / 486.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002078/0.4767, allocations: 2.018 MB / 488.3 MB, free: 9.227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.4783, allocations: 1.049 MB / 489.3 MB, free: 8.168 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008269/0.4866, allocations: 7.54 MB / 496.9 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4866, allocations: 0 / 496.9 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4866, allocations: 4 kB / 496.9 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002666/0.4869, allocations: 0 / 496.9 MB, free: 0.6055 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.01193/0.4988, allocations: 5.202 MB / 0.4903 GB, free: 11.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4989, allocations: 8.031 kB / 0.4903 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04194/0.5409, allocations: 7.95 MB / 0.4981 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.551, allocations: 3.91 MB / 0.5019 GB, free: 15.38 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.5513, allocations: 307.8 kB / 0.5022 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.553, allocations: 435.6 kB / 0.5026 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02327/0.5763, allocations: 12.47 MB / 0.5148 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001484/0.5765, allocations: 59.48 kB / 0.5148 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005119/0.577, allocations: 191.9 kB / 0.515 GB, free: 1.195 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003057/0.5801, allocations: 2.046 MB / 0.517 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02175/0.6019, allocations: 10.52 MB / 0.5273 GB, free: 4.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2398/0.8417, allocations: 44.25 MB / 0.5705 GB, free: 116.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.854, allocations: 4.864 MB / 0.5753 GB, free: 114.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.865, allocations: 7.167 MB / 0.5823 GB, free: 109.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.865, allocations: 50.97 kB / 0.5823 GB, free: 109.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.779e-06/0.8651, allocations: 0 / 0.5823 GB, free: 109.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05746/0.9225, allocations: 19.35 MB / 0.6012 GB, free: 91.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.463e-05/0.9226, allocations: 209.8 kB / 0.6014 GB, free: 91.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00486/0.9275, allocations: 4.699 MB / 0.606 GB, free: 86.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003589/0.9279, allocations: 66.42 kB / 0.6061 GB, free: 86.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001553/0.9294, allocations: 3.556 MB / 0.6095 GB, free: 83.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000633/0.9301, allocations: 0.8351 MB / 0.6104 GB, free: 82.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.9303, allocations: 128 kB / 0.6105 GB, free: 82.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.9305, allocations: 0.5746 MB / 0.611 GB, free: 81.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/0.9332, allocations: 2.203 MB / 0.6132 GB, free: 79.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/0.9376, allocations: 5.934 MB / 0.619 GB, free: 71.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004341/0.942, allocations: 3.561 MB / 0.6225 GB, free: 68.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.787e-05/0.942, allocations: 36 kB / 0.6225 GB, free: 68.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01523/0.9573, allocations: 8.995 MB / 0.6313 GB, free: 59.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.9575, allocations: 60 kB / 0.6313 GB, free: 58.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/0.9578, allocations: 132 kB / 0.6315 GB, free: 58.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003529/0.9613, allocations: 1.224 MB / 0.6327 GB, free: 57.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/0.9659, allocations: 1.419 MB / 0.634 GB, free: 56.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.976, allocations: 7.758 MB / 0.6416 GB, free: 48.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005449/0.9815, allocations: 343.4 kB / 0.6419 GB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.9826, allocations: 382.2 kB / 0.6423 GB, free: 47.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (766): * Single equations (assignments): 762 * 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.004897/0.9875, allocations: 2.482 MB / 0.6447 GB, free: 45.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.9886, allocations: 406.7 kB / 0.6451 GB, free: 44.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007516/0.9961, allocations: 3.874 MB / 0.6489 GB, free: 40.81 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.957e-05/0.9962, allocations: 24.55 kB / 0.6489 GB, free: 40.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.189e-05/0.9962, allocations: 11.95 kB / 0.6489 GB, free: 40.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.801e-05/0.9963, allocations: 7.969 kB / 0.6489 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02134/1.018, allocations: 10.19 MB / 0.6589 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/1.018, allocations: 8 kB / 0.6589 GB, free: 30.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.019, allocations: 347.4 kB / 0.6592 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003197/1.023, allocations: 0.9858 MB / 0.6602 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002844/1.023, allocations: 47.97 kB / 0.6602 GB, free: 29.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008009/1.031, allocations: 6.432 MB / 0.6665 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/1.031, allocations: 12.41 kB / 0.6665 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/1.041, allocations: 7.232 MB / 0.6736 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/1.043, allocations: 475.6 kB / 0.674 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001002/1.044, allocations: 42.19 kB / 0.6741 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/1.046, allocations: 107.9 kB / 0.6742 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000389/1.047, allocations: 152.9 kB / 0.6743 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/1.047, allocations: 59.98 kB / 0.6744 GB, free: 14.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004951/1.052, allocations: 3.004 MB / 0.6773 GB, free: 11.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/1.052, allocations: 0 / 0.6773 GB, free: 11.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005788/1.058, allocations: 1.181 MB / 0.6785 GB, free: 9.98 MB / 446.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 (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.0007269/1.058, allocations: 223.2 kB / 0.6787 GB, free: 9.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007562/1.066, allocations: 5.479 MB / 0.684 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.066, allocations: 6 kB / 0.684 GB, free: 4.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002353/1.068, allocations: 1.831 MB / 0.6858 GB, free: 2.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.071, allocations: 0.5143 MB / 0.6863 GB, free: 1.938 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02243/1.093, allocations: 12.93 MB / 0.699 GB, free: 4.898 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006245/1.1, allocations: 3.972 MB / 0.7028 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.1882/1.288, allocations: 1.931 MB / 0.7047 GB, free: 147.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.289, allocations: 273.9 kB / 0.705 GB, free: 147.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.263e-06/1.289, allocations: 0 / 0.705 GB, free: 147.4 MB / 462.1 MB Notification: Performance of Templates: time 0.08066/1.37, allocations: 42.79 MB / 0.7468 GB, free: 126 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (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) 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.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches