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.001504/0.001504, allocations: 117.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.001669/0.001669, allocations: 201.2 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.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2547, allocations: 50.54 MB / 409.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01422/0.269, allocations: 13.45 MB / 422.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.2805, allocations: 4.877 MB / 427.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.2832, allocations: 87.75 kB / 427.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007461/0.2907, allocations: 4.163 MB / 431.8 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005108/0.2958, allocations: 2.19 MB / 434 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002484/0.2983, allocations: 1.1 MB / 435.1 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007593/0.3059, allocations: 6.052 MB / 441.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006231/0.3122, allocations: 5.298 MB / 446.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004473/0.3167, allocations: 2.142 MB / 448.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00474/0.3214, allocations: 2.874 MB / 451.5 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001437/0.3229, allocations: 0.4922 MB / 452 MB, free: 6.703 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.3264, allocations: 1.627 MB / 453.6 MB, free: 5.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002788/0.3292, allocations: 2.591 MB / 456.2 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003045/0.3322, allocations: 2.883 MB / 459.1 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.3423, allocations: 9.481 MB / 468.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.3423, allocations: 0 / 468.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.3423, allocations: 7.938 kB / 468.6 MB, free: 6.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.3425, allocations: 0 / 468.6 MB, free: 6.059 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.01212/0.3547, allocations: 6.001 MB / 474.6 MB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3547, allocations: 11.97 kB / 474.6 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.3648, allocations: 2.54 MB / 477.1 MB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009236/0.3741, allocations: 3.749 MB / 480.9 MB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.3744, allocations: 312.3 kB / 481.2 MB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001264/0.3757, allocations: 447.6 kB / 481.6 MB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02375/0.3994, allocations: 12.41 MB / 494 MB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.3996, allocations: 55.48 kB / 494.1 MB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005294/0.4002, allocations: 191.8 kB / 494.3 MB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/0.4034, allocations: 2.031 MB / 496.3 MB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02312/0.4266, allocations: 10.57 MB / 0.495 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06098/0.4876, allocations: 44.13 MB / 0.5381 GB, free: 1.445 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2457/0.7334, allocations: 4.851 MB / 0.5428 GB, free: 122.3 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.7357, allocations: 2.009 MB / 0.5448 GB, free: 121.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009224/0.745, allocations: 7.197 MB / 0.5518 GB, free: 117.7 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.745, allocations: 51.09 kB / 0.5518 GB, free: 117.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 3.867e-06/0.745, allocations: 0 / 0.5518 GB, free: 117.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.05582/0.8009, allocations: 19.51 MB / 0.5709 GB, free: 103.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.801, allocations: 201.9 kB / 0.5711 GB, free: 103.3 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/0.8057, allocations: 4.464 MB / 0.5754 GB, free: 98.8 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.8059, allocations: 53.7 kB / 0.5755 GB, free: 98.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.8074, allocations: 3.51 MB / 0.5789 GB, free: 95.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005971/0.808, allocations: 0.8344 MB / 0.5797 GB, free: 94.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.8093, allocations: 1.341 MB / 0.581 GB, free: 93.05 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.8094, allocations: 309.1 kB / 0.5813 GB, free: 92.75 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.812, allocations: 2.367 MB / 0.5837 GB, free: 90.38 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003828/0.8158, allocations: 6.175 MB / 0.5897 GB, free: 82.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00745/0.8233, allocations: 9.173 MB / 0.5986 GB, free: 71.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.255e-05/0.8234, allocations: 40 kB / 0.5987 GB, free: 71.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01432/0.8377, allocations: 9.552 MB / 0.608 GB, free: 61.71 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.687e-05/0.8378, allocations: 60 kB / 0.6081 GB, free: 61.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/0.8379, allocations: 136 kB / 0.6082 GB, free: 61.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003629/0.8416, allocations: 1.375 MB / 0.6095 GB, free: 60.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003983/0.8456, allocations: 1.478 MB / 0.611 GB, free: 58.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009377/0.855, allocations: 8.468 MB / 0.6193 GB, free: 50.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/0.8595, allocations: 359.3 kB / 0.6196 GB, free: 49.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005821/0.8601, allocations: 391.9 kB / 0.62 GB, free: 49.32 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.003049/0.8631, allocations: 2.486 MB / 0.6224 GB, free: 46.82 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006172/0.8638, allocations: 398.8 kB / 0.6228 GB, free: 46.43 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007096/0.8709, allocations: 4.133 MB / 0.6268 GB, free: 42.28 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/0.8709, allocations: 24 kB / 0.6268 GB, free: 42.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.8709, allocations: 19.05 kB / 0.6269 GB, free: 42.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.871, allocations: 7.969 kB / 0.6269 GB, free: 42.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.8876, allocations: 10.13 MB / 0.6368 GB, free: 32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/0.8877, allocations: 4 kB / 0.6368 GB, free: 32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/0.8891, allocations: 327.5 kB / 0.6371 GB, free: 31.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003397/0.8925, allocations: 1.152 MB / 0.6382 GB, free: 30.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002042/0.8927, allocations: 43.98 kB / 0.6382 GB, free: 30.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008074/0.9008, allocations: 7.152 MB / 0.6452 GB, free: 23.19 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.9008, allocations: 11.94 kB / 0.6452 GB, free: 23.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009873/0.9107, allocations: 6.91 MB / 0.652 GB, free: 16.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.9122, allocations: 455.8 kB / 0.6524 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000462/0.9127, allocations: 47.44 kB / 0.6525 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001492/0.9142, allocations: 111.9 kB / 0.6526 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.9145, allocations: 141 kB / 0.6527 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.9147, allocations: 63.98 kB / 0.6528 GB, free: 15.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003525/0.9182, allocations: 2.798 MB / 0.6555 GB, free: 12.56 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.9182, allocations: 0 / 0.6555 GB, free: 12.56 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005638/0.9238, allocations: 1.2 MB / 0.6567 GB, free: 11.37 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.0006161/0.9245, allocations: 230.3 kB / 0.6569 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007676/0.9322, allocations: 5.778 MB / 0.6625 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.9322, allocations: 4 kB / 0.6625 GB, free: 5.379 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002231/0.9344, allocations: 1.882 MB / 0.6644 GB, free: 3.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/0.938, allocations: 0.536 MB / 0.6649 GB, free: 2.949 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.9577, allocations: 11.03 MB / 0.6757 GB, free: 7.832 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005684/0.9634, allocations: 3.863 MB / 0.6794 GB, free: 3.934 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005064/0.9685, allocations: 1.934 MB / 0.6813 GB, free: 1.992 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.9696, allocations: 271.4 kB / 0.6816 GB, free: 1.727 MB / 478.1 MB Notification: Performance of SimCode: time 7.81e-07/0.9696, allocations: 0 / 0.6816 GB, free: 1.727 MB / 478.1 MB Notification: Performance of Templates: time 0.08159/1.051, allocations: 41.9 MB / 0.7225 GB, free: 8.082 MB / 0.5138 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