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.001541/0.001541, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001805/0.001805, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2877, allocations: 50.55 MB / 409.2 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0145/0.3023, allocations: 13.44 MB / 422.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3127, allocations: 4.877 MB / 427.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003194/0.316, allocations: 91.69 kB / 427.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007699/0.3237, allocations: 4.163 MB / 431.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006723/0.3305, allocations: 2.12 MB / 433.9 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.3333, allocations: 1.1 MB / 435 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008848/0.3422, allocations: 6.052 MB / 441.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006762/0.349, allocations: 5.298 MB / 446.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003726/0.3527, allocations: 2.154 MB / 448.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004248/0.357, allocations: 2.871 MB / 451.4 MB, free: 7.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.3585, allocations: 500 kB / 451.9 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003397/0.3619, allocations: 1.619 MB / 453.5 MB, free: 5.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003102/0.365, allocations: 2.591 MB / 456.1 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003948/0.369, allocations: 2.887 MB / 459 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.3792, allocations: 9.489 MB / 468.5 MB, free: 6.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3793, allocations: 4 kB / 468.5 MB, free: 6.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3793, allocations: 0 / 468.5 MB, free: 6.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002001/0.3795, allocations: 0 / 468.5 MB, free: 6.102 MB / 382.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.01305/0.3926, allocations: 6.001 MB / 474.5 MB, free: 24 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.3926, allocations: 12.02 kB / 474.5 MB, free: 12 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/0.4036, allocations: 2.541 MB / 477 MB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009415/0.4131, allocations: 3.761 MB / 480.8 MB, free: 9.637 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002789/0.4134, allocations: 304.3 kB / 481.1 MB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00169/0.4151, allocations: 439.6 kB / 481.5 MB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02264/0.4378, allocations: 12.41 MB / 493.9 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/0.4379, allocations: 59.42 kB / 494 MB, free: 11.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/0.4384, allocations: 187.9 kB / 494.2 MB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002936/0.4413, allocations: 2.027 MB / 496.2 MB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0199/0.4613, allocations: 10.57 MB / 0.4949 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05244/0.5137, allocations: 44.13 MB / 0.538 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2487/0.7625, allocations: 4.843 MB / 0.5427 GB, free: 122.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.765, allocations: 2.01 MB / 0.5447 GB, free: 121.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009529/0.7745, allocations: 7.2 MB / 0.5517 GB, free: 117.6 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.7746, allocations: 52.25 kB / 0.5518 GB, free: 117.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 4.729e-06/0.7746, allocations: 0 / 0.5518 GB, free: 117.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.05927/0.8339, allocations: 19.51 MB / 0.5708 GB, free: 103.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.834, allocations: 201.9 kB / 0.571 GB, free: 103.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004701/0.8387, allocations: 4.461 MB / 0.5754 GB, free: 98.79 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003124/0.839, allocations: 61.7 kB / 0.5754 GB, free: 98.72 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.8404, allocations: 3.513 MB / 0.5789 GB, free: 95.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000605/0.841, allocations: 0.8303 MB / 0.5797 GB, free: 94.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.8423, allocations: 1.341 MB / 0.581 GB, free: 93.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.8424, allocations: 305.1 kB / 0.5813 GB, free: 92.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/0.845, allocations: 2.367 MB / 0.5836 GB, free: 90.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003739/0.8488, allocations: 6.171 MB / 0.5896 GB, free: 82.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007285/0.8561, allocations: 9.175 MB / 0.5986 GB, free: 71.29 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-05/0.8562, allocations: 40 kB / 0.5986 GB, free: 71.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01442/0.8706, allocations: 9.558 MB / 0.6079 GB, free: 61.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.86e-05/0.8707, allocations: 64 kB / 0.608 GB, free: 61.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001217/0.8708, allocations: 136.1 kB / 0.6081 GB, free: 61.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003702/0.8745, allocations: 1.366 MB / 0.6095 GB, free: 60.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004427/0.879, allocations: 1.47 MB / 0.6109 GB, free: 58.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009497/0.8885, allocations: 8.471 MB / 0.6192 GB, free: 50.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005393/0.8939, allocations: 363 kB / 0.6195 GB, free: 49.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007886/0.8947, allocations: 388 kB / 0.6199 GB, free: 49.31 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003209/0.8979, allocations: 2.49 MB / 0.6223 GB, free: 46.8 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006519/0.8986, allocations: 398.8 kB / 0.6227 GB, free: 46.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007124/0.9057, allocations: 4.13 MB / 0.6267 GB, free: 42.27 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/0.9058, allocations: 27.94 kB / 0.6268 GB, free: 42.24 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.9058, allocations: 11.98 kB / 0.6268 GB, free: 42.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.9058, allocations: 7.969 kB / 0.6268 GB, free: 42.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01667/0.9225, allocations: 10.14 MB / 0.6367 GB, free: 31.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.9225, allocations: 8.094 kB / 0.6367 GB, free: 31.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.9239, allocations: 335.5 kB / 0.637 GB, free: 31.65 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003417/0.9273, allocations: 1.144 MB / 0.6381 GB, free: 30.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001902/0.9275, allocations: 47.98 kB / 0.6382 GB, free: 30.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008204/0.9357, allocations: 7.151 MB / 0.6452 GB, free: 23.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.9358, allocations: 10.83 kB / 0.6452 GB, free: 23.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009665/0.9454, allocations: 6.915 MB / 0.6519 GB, free: 16.16 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/0.9468, allocations: 455.8 kB / 0.6524 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004009/0.9472, allocations: 40 kB / 0.6524 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/0.9487, allocations: 111.9 kB / 0.6525 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/0.9491, allocations: 141.1 kB / 0.6526 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/0.9492, allocations: 71.17 kB / 0.6527 GB, free: 15.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003555/0.9528, allocations: 2.795 MB / 0.6554 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9528, allocations: 0 / 0.6554 GB, free: 12.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006846/0.9596, allocations: 1.2 MB / 0.6566 GB, free: 11.35 MB / 462.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007791/0.9604, allocations: 226.6 kB / 0.6568 GB, free: 11.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007852/0.9683, allocations: 5.776 MB / 0.6625 GB, free: 5.367 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/0.9683, allocations: 0 / 0.6625 GB, free: 5.367 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.9706, allocations: 1.888 MB / 0.6643 GB, free: 3.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.9736, allocations: 0.5431 MB / 0.6648 GB, free: 2.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.9915, allocations: 11.03 MB / 0.6756 GB, free: 7.816 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004128/0.9957, allocations: 3.867 MB / 0.6794 GB, free: 3.914 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004257/1, allocations: 1.93 MB / 0.6813 GB, free: 1.977 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007375/1.001, allocations: 271.4 kB / 0.6815 GB, free: 1.711 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/1.001, allocations: 0 / 0.6815 GB, free: 1.711 MB / 478.1 MB Notification: Performance of Templates: time 0.07719/1.078, allocations: 41.87 MB / 0.7224 GB, free: 8.152 MB / 0.5137 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches