Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001194/0.001194, allocations: 175.3 kB / 16.72 MB, free: 5.082 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.765/1.765, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008335/0.0008336, allocations: 94.41 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000307/0.0003071, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3034, allocations: 47.57 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.04047/0.3439, allocations: 50.29 MB / 425.4 MB, free: 14.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0279/0.3718, allocations: 11.29 MB / 436.7 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01581/0.3877, allocations: 247.3 kB / 436.9 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008775/0.3965, allocations: 2.574 MB / 439.5 MB, free: 152 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02486/0.4214, allocations: 7.728 MB / 447.2 MB, free: 8.387 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005614/0.427, allocations: 0.9828 MB / 448.2 MB, free: 7.402 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0469/0.474, allocations: 35.75 MB / 483.9 MB, free: 3.598 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01166/0.4857, allocations: 7.101 MB / 491 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.4896, allocations: 1.654 MB / 492.7 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.4934, allocations: 2.547 MB / 495.2 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007757/0.4942, allocations: 184 kB / 495.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.4972, allocations: 1.388 MB / 496.8 MB, free: 6.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00232/0.4996, allocations: 2.19 MB / 499 MB, free: 4.426 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002749/0.5023, allocations: 2.363 MB / 0.4896 GB, free: 2.043 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2415/0.7438, allocations: 7.432 MB / 0.4969 GB, free: 42.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.7439, allocations: 0 / 0.4969 GB, free: 42.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.7439, allocations: 5.156 kB / 0.4969 GB, free: 42.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003275/0.7442, allocations: 0 / 0.4969 GB, free: 42.9 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.01058/0.7548, allocations: 4.927 MB / 0.5017 GB, free: 40.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.7549, allocations: 8.844 kB / 0.5017 GB, free: 40.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.766, allocations: 2.592 MB / 0.5042 GB, free: 40.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.7761, allocations: 3.85 MB / 0.508 GB, free: 39.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004105/0.7765, allocations: 307.9 kB / 0.5083 GB, free: 39.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/0.7787, allocations: 436.7 kB / 0.5087 GB, free: 39.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02326/0.8019, allocations: 12.4 MB / 0.5208 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000152/0.8021, allocations: 58.39 kB / 0.5209 GB, free: 37.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005378/0.8027, allocations: 186.9 kB / 0.521 GB, free: 37.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/0.8055, allocations: 2.03 MB / 0.523 GB, free: 37.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01943/0.8249, allocations: 10.54 MB / 0.5333 GB, free: 33.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04993/0.8749, allocations: 44.38 MB / 0.5767 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/0.8877, allocations: 4.877 MB / 0.5814 GB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002812/0.8906, allocations: 2.005 MB / 0.5834 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01236/0.903, allocations: 7.117 MB / 0.5903 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.9031, allocations: 58.56 kB / 0.5904 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of pre-optimization done (n=179): time 6.112e-06/0.9031, allocations: 0 / 0.5904 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of matching and sorting (n=223): time 0.07169/0.9748, allocations: 19.71 MB / 0.6096 GB, free: 12.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001485/0.975, allocations: 212.8 kB / 0.6098 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0104/0.9854, allocations: 4.463 MB / 0.6142 GB, free: 8.137 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006243/0.9861, allocations: 61.7 kB / 0.6143 GB, free: 8.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003685/0.9898, allocations: 3.521 MB / 0.6177 GB, free: 4.566 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001499/0.9913, allocations: 0.8411 MB / 0.6185 GB, free: 3.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009242/0.9923, allocations: 128 kB / 0.6186 GB, free: 3.609 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007447/0.993, allocations: 0.581 MB / 0.6192 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004989/0.998, allocations: 2.34 MB / 0.6215 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008274/1.006, allocations: 6.145 MB / 0.6275 GB, free: 8.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01334/1.02, allocations: 9.132 MB / 0.6364 GB, free: 14.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000193/1.02, allocations: 42.81 kB / 0.6365 GB, free: 14.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02374/1.044, allocations: 9.499 MB / 0.6457 GB, free: 5.551 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002286/1.044, allocations: 64 kB / 0.6458 GB, free: 5.488 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003292/1.044, allocations: 132 kB / 0.6459 GB, free: 5.359 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00457/1.049, allocations: 1.374 MB / 0.6473 GB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005395/1.054, allocations: 1.469 MB / 0.6487 GB, free: 2.641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.067, allocations: 7.968 MB / 0.6565 GB, free: 10.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005669/1.073, allocations: 351.5 kB / 0.6568 GB, free: 10.26 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001395/1.075, allocations: 384 kB / 0.6572 GB, free: 9.887 MB / 474.7 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 (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.006206/1.081, allocations: 2.496 MB / 0.6596 GB, free: 7.516 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/1.082, allocations: 406.7 kB / 0.66 GB, free: 7.113 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/1.092, allocations: 4.112 MB / 0.664 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.767e-05/1.093, allocations: 27.56 kB / 0.664 GB, free: 2.984 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.378e-05/1.093, allocations: 9.531 kB / 0.6641 GB, free: 2.977 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-05/1.093, allocations: 7.969 kB / 0.6641 GB, free: 2.969 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2414/1.334, allocations: 10.35 MB / 0.6742 GB, free: 184.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.038e-05/1.334, allocations: 5.312 kB / 0.6742 GB, free: 184.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.336, allocations: 352.2 kB / 0.6745 GB, free: 184.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00386/1.34, allocations: 1.142 MB / 0.6756 GB, free: 184.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003268/1.34, allocations: 46.62 kB / 0.6757 GB, free: 184 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009865/1.35, allocations: 6.66 MB / 0.6822 GB, free: 180.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/1.35, allocations: 4.75 kB / 0.6822 GB, free: 180.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/1.361, allocations: 6.895 MB / 0.6889 GB, free: 178 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.363, allocations: 0.7358 MB / 0.6896 GB, free: 177.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.364, allocations: 41.98 kB / 0.6897 GB, free: 177.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.366, allocations: 115.5 kB / 0.6898 GB, free: 177.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/1.367, allocations: 144 kB / 0.6899 GB, free: 177.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/1.367, allocations: 66.94 kB / 0.69 GB, free: 177.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004359/1.371, allocations: 2.797 MB / 0.6927 GB, free: 176.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.371, allocations: 0 / 0.6927 GB, free: 176.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006424/1.378, allocations: 1.216 MB / 0.6939 GB, free: 176.6 MB / 474.7 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.0006256/1.378, allocations: 223.4 kB / 0.6941 GB, free: 176.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008409/1.387, allocations: 5.721 MB / 0.6997 GB, free: 173 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.387, allocations: 3.688 kB / 0.6997 GB, free: 173 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002436/1.389, allocations: 1.876 MB / 0.7015 GB, free: 171.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006172/1.396, allocations: 0.5106 MB / 0.702 GB, free: 170.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02227/1.418, allocations: 13.59 MB / 0.7153 GB, free: 157.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003819/1.422, allocations: 3.848 MB / 0.7191 GB, free: 154 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001217/1.423, allocations: 315.4 kB / 0.7194 GB, free: 153.7 MB / 474.7 MB Notification: Performance of SimCode: time 1.022e-06/1.423, allocations: 4 kB / 0.7194 GB, free: 153.7 MB / 474.7 MB Notification: Performance of Templates: time 0.1123/1.535, allocations: 89.56 MB / 0.8068 GB, free: 63.96 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches