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.002425/0.002425, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.557/1.557, allocations: 225.6 MB / 234.8 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001113/0.001113, allocations: 101 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.001e-05, allocations: 4 kB / 343.7 MB, free: 8.293 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1357, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.6003, allocations: 105.1 MB / 0.4885 GB, free: 4.414 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.6006, allocations: 88.45 kB / 0.4886 GB, free: 4.371 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6102/1.211, allocations: 112.6 MB / 0.5986 GB, free: 78.06 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.211, allocations: 0 / 0.5986 GB, free: 78.06 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005046/1.211, allocations: 105.6 kB / 0.5987 GB, free: 78.06 MB / 442.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.01994/1.231, allocations: 4.937 MB / 0.6035 GB, free: 76.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/1.231, allocations: 10 kB / 0.6035 GB, free: 76.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03099/1.262, allocations: 6.902 MB / 0.6103 GB, free: 75.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02053/1.283, allocations: 5.824 MB / 0.616 GB, free: 74.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006419/1.284, allocations: 166.3 kB / 0.6161 GB, free: 74.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003625/1.287, allocations: 312.4 kB / 0.6164 GB, free: 74.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01938/1.307, allocations: 7.502 MB / 0.6237 GB, free: 74.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02899/1.336, allocations: 10.64 MB / 0.6341 GB, free: 70.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004777/1.336, allocations: 59.03 kB / 0.6342 GB, free: 70.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002622/1.339, allocations: 27.5 kB / 0.6342 GB, free: 70.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001708/1.341, allocations: 1.055 MB / 0.6353 GB, free: 70.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06514/1.406, allocations: 48.44 MB / 0.6826 GB, free: 34.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004289/1.41, allocations: 3.138 MB / 0.6856 GB, free: 33.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/1.413, allocations: 1.796 MB / 0.6874 GB, free: 32.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.414, allocations: 1.203 MB / 0.6885 GB, free: 31.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/1.414, allocations: 58 kB / 0.6886 GB, free: 31.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=185): time 5.691e-06/1.414, allocations: 0 / 0.6886 GB, free: 31.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=233): time 0.04744/1.461, allocations: 16.07 MB / 0.7043 GB, free: 25.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/1.461, allocations: 207.1 kB / 0.7045 GB, free: 25.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008426/1.47, allocations: 3.449 MB / 0.7079 GB, free: 22.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005021/1.47, allocations: 25.7 kB / 0.7079 GB, free: 22.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002752/1.473, allocations: 3.618 MB / 0.7114 GB, free: 19.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.474, allocations: 0.8436 MB / 0.7122 GB, free: 18.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007563/1.475, allocations: 0 / 0.7122 GB, free: 18.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006578/1.476, allocations: 0.5842 MB / 0.7128 GB, free: 18.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003321/1.479, allocations: 2.053 MB / 0.7148 GB, free: 16.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005007/1.484, allocations: 5.907 MB / 0.7206 GB, free: 8.914 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004696/1.489, allocations: 3.486 MB / 0.724 GB, free: 5.938 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.331e-05/1.489, allocations: 40 kB / 0.724 GB, free: 5.898 MB / 442.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01551/1.505, allocations: 8.002 MB / 0.7318 GB, free: 14.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/1.505, allocations: 61.88 kB / 0.7319 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003166/1.505, allocations: 140.8 kB / 0.732 GB, free: 14.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003471/1.509, allocations: 1.025 MB / 0.733 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005438/1.514, allocations: 1.481 MB / 0.7345 GB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/1.525, allocations: 6.525 MB / 0.7409 GB, free: 6.895 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006087/1.531, allocations: 212.8 kB / 0.7411 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001599/1.532, allocations: 402.8 kB / 0.7414 GB, free: 6.328 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * 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 () * 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.002395/1.535, allocations: 465.7 kB / 0.7419 GB, free: 5.871 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.536, allocations: 383 kB / 0.7423 GB, free: 5.492 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008681/1.545, allocations: 3.445 MB / 0.7456 GB, free: 2.699 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.221e-05/1.545, allocations: 24 kB / 0.7456 GB, free: 2.676 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.512e-05/1.545, allocations: 4 kB / 0.7456 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.097e-05/1.545, allocations: 15.02 kB / 0.7457 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3097/1.855, allocations: 8.919 MB / 0.7544 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/1.855, allocations: 6.469 kB / 0.7544 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/1.856, allocations: 371.6 kB / 0.7547 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/1.859, allocations: 0.7834 MB / 0.7555 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/1.859, allocations: 21.5 kB / 0.7555 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006441/1.866, allocations: 5.252 MB / 0.7606 GB, free: 81.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-05/1.866, allocations: 9.688 kB / 0.7607 GB, free: 81.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/1.876, allocations: 6.896 MB / 0.7674 GB, free: 80.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/1.877, allocations: 428.5 kB / 0.7678 GB, free: 80.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004568/1.878, allocations: 12.86 kB / 0.7678 GB, free: 80.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/1.879, allocations: 65.28 kB / 0.7679 GB, free: 80.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003201/1.88, allocations: 154 kB / 0.768 GB, free: 80.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001464/1.88, allocations: 67.05 kB / 0.7681 GB, free: 80.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003985/1.884, allocations: 2.33 MB / 0.7704 GB, free: 79.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.884, allocations: 0 / 0.7704 GB, free: 79.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007383/1.891, allocations: 1.025 MB / 0.7714 GB, free: 79.91 MB / 458.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (185): * Single equations (assignments): 181 * 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.0008039/1.892, allocations: 203 kB / 0.7716 GB, free: 79.82 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008948/1.901, allocations: 5.102 MB / 0.7765 GB, free: 79.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/1.901, allocations: 1.188 kB / 0.7765 GB, free: 79.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003297/1.905, allocations: 1.744 MB / 0.7782 GB, free: 79.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/1.908, allocations: 448.9 kB / 0.7787 GB, free: 79.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/1.928, allocations: 8.935 MB / 0.7874 GB, free: 77.59 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005231/1.933, allocations: 3.982 MB / 0.7913 GB, free: 76.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006163/1.94, allocations: 2.027 MB / 0.7933 GB, free: 76.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009112/1.941, allocations: 267.4 kB / 0.7935 GB, free: 76.26 MB / 458.7 MB Notification: Performance of SimCode: time 1.011e-06/1.941, allocations: 0 / 0.7935 GB, free: 76.26 MB / 458.7 MB Notification: Performance of Templates: time 0.08031/2.021, allocations: 37.44 MB / 0.8301 GB, free: 74.63 MB / 458.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