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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001171/0.001171, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.203/1.203, allocations: 227.2 MB / 245 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009087/0.0009087, allocations: 99.7 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002221/0.0002221, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2067, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.3238, allocations: 105.8 MB / 0.5032 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.3241, allocations: 95.95 kB / 0.5033 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3975/0.7216, allocations: 114.9 MB / 0.6155 GB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7216, allocations: 0 / 0.6155 GB, free: 10.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00038/0.722, allocations: 104 kB / 0.6156 GB, free: 10.61 MB / 394.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.01751/0.7396, allocations: 5.378 MB / 0.6208 GB, free: 5.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7396, allocations: 8.031 kB / 0.6209 GB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02692/0.7665, allocations: 6.892 MB / 0.6276 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.7819, allocations: 5.858 MB / 0.6333 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005107/0.7825, allocations: 390.3 kB / 0.6337 GB, free: 7.941 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002438/0.785, allocations: 0.5114 MB / 0.6342 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03119/0.8162, allocations: 12.66 MB / 0.6465 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004329/0.8167, allocations: 63.38 kB / 0.6466 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002516/0.8192, allocations: 243.9 kB / 0.6468 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001873/0.8211, allocations: 1.051 MB / 0.6479 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02236/0.8435, allocations: 10.53 MB / 0.6581 GB, free: 13.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2421/1.086, allocations: 50.16 MB / 0.7071 GB, free: 53.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/1.097, allocations: 4.808 MB / 0.7118 GB, free: 53.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/1.107, allocations: 7.017 MB / 0.7187 GB, free: 51.08 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.107, allocations: 54.58 kB / 0.7187 GB, free: 51.04 MB / 442.7 MB Notification: Performance of pre-optimization done (n=179): time 4.478e-06/1.107, allocations: 0 / 0.7187 GB, free: 51.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=224): time 0.06237/1.17, allocations: 20.23 MB / 0.7385 GB, free: 47.72 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/1.17, allocations: 211.6 kB / 0.7387 GB, free: 47.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/1.175, allocations: 3.918 MB / 0.7425 GB, free: 47.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003511/1.175, allocations: 59.45 kB / 0.7426 GB, free: 47.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001704/1.177, allocations: 3.567 MB / 0.746 GB, free: 45.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007869/1.178, allocations: 0.84 MB / 0.7469 GB, free: 44.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/1.178, allocations: 121.1 kB / 0.747 GB, free: 44.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002494/1.178, allocations: 0.5795 MB / 0.7476 GB, free: 44.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/1.181, allocations: 2.161 MB / 0.7497 GB, free: 44.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003841/1.185, allocations: 5.915 MB / 0.7554 GB, free: 38.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004038/1.189, allocations: 3.521 MB / 0.7589 GB, free: 37.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.886e-05/1.189, allocations: 35.28 kB / 0.7589 GB, free: 37.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=835) (initialization): time 0.01273/1.201, allocations: 8.8 MB / 0.7675 GB, free: 34.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/1.202, allocations: 65.56 kB / 0.7676 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.202, allocations: 132.6 kB / 0.7677 GB, free: 34.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/1.204, allocations: 1.043 MB / 0.7687 GB, free: 34.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/1.208, allocations: 1.42 MB / 0.7701 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008072/1.216, allocations: 7.131 MB / 0.7771 GB, free: 30.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/1.221, allocations: 327.1 kB / 0.7774 GB, free: 30.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.222, allocations: 384.3 kB / 0.7777 GB, free: 29.98 MB / 442.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.004583/1.227, allocations: 2.493 MB / 0.7802 GB, free: 27.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007656/1.228, allocations: 402.8 kB / 0.7806 GB, free: 27.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006324/1.234, allocations: 3.662 MB / 0.7841 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.51e-05/1.234, allocations: 24.62 kB / 0.7842 GB, free: 24.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/1.234, allocations: 11.31 kB / 0.7842 GB, free: 24.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/1.234, allocations: 10.64 kB / 0.7842 GB, free: 24.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01581/1.25, allocations: 9.865 MB / 0.7938 GB, free: 16.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.25, allocations: 4 kB / 0.7938 GB, free: 16.24 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/1.251, allocations: 358.5 kB / 0.7942 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/1.254, allocations: 0.81 MB / 0.795 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/1.254, allocations: 47.56 kB / 0.795 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00666/1.261, allocations: 5.841 MB / 0.8007 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/1.261, allocations: 7.938 kB / 0.8007 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00834/1.269, allocations: 7.008 MB / 0.8076 GB, free: 3.703 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.27, allocations: 457.1 kB / 0.808 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/1.271, allocations: 36 kB / 0.808 GB, free: 3.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.272, allocations: 95.89 kB / 0.8081 GB, free: 3.148 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/1.272, allocations: 156.8 kB / 0.8083 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/1.273, allocations: 63.33 kB / 0.8083 GB, free: 2.984 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003489/1.276, allocations: 2.765 MB / 0.811 GB, free: 0.707 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.276, allocations: 0 / 0.811 GB, free: 0.707 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007482/1.284, allocations: 1.409 MB / 0.8124 GB, free: 0 / 442.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.0006186/1.284, allocations: 231.5 kB / 0.8126 GB, free: 15.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007686/1.292, allocations: 5.408 MB / 0.8179 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.292, allocations: 4 kB / 0.8179 GB, free: 11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002273/1.294, allocations: 1.81 MB / 0.8197 GB, free: 9.379 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.297, allocations: 0.5137 MB / 0.8202 GB, free: 8.938 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.315, allocations: 12.9 MB / 0.8328 GB, free: 13.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004019/1.319, allocations: 3.974 MB / 0.8367 GB, free: 9.344 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004944/1.324, allocations: 1.95 MB / 0.8386 GB, free: 7.402 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007389/1.325, allocations: 271.4 kB / 0.8388 GB, free: 7.141 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/1.325, allocations: 0 / 0.8388 GB, free: 7.141 MB / 474.7 MB Notification: Performance of Templates: time 0.2613/1.586, allocations: 41.51 MB / 0.8794 GB, free: 105 MB / 474.7 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