Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 105.4 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 187.1 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 55.92 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1046, allocations: 46.62 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2578/0.3624, allocations: 13.53 MB / 389.3 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.3749, allocations: 4.858 MB / 394.2 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004137/0.3791, allocations: 91.25 kB / 394.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008764/0.3879, allocations: 4.185 MB / 398.5 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008352/0.3963, allocations: 2.149 MB / 400.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.4, allocations: 1.11 MB / 401.7 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01117/0.4112, allocations: 5.634 MB / 407.4 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008516/0.4198, allocations: 5.297 MB / 412.7 MB, free: 9.234 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005755/0.4256, allocations: 2.169 MB / 414.8 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006167/0.4318, allocations: 2.878 MB / 417.7 MB, free: 5.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00199/0.4338, allocations: 0.4961 MB / 418.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/0.4385, allocations: 1.631 MB / 419.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004045/0.4426, allocations: 2.623 MB / 422.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005951/0.4486, allocations: 2.902 MB / 425.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.4631, allocations: 9.54 MB / 434.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.4632, allocations: 0 / 434.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.21e-06/0.4632, allocations: 4 kB / 434.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003539/0.4635, allocations: 0 / 434.9 MB, free: 4.305 MB / 350.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.0178/0.4813, allocations: 6.037 MB / 440.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.4814, allocations: 12.03 kB / 441 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.4939, allocations: 2.54 MB / 443.5 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009639/0.5036, allocations: 3.921 MB / 447.4 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002837/0.5039, allocations: 300.5 kB / 447.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/0.5057, allocations: 443.6 kB / 448.1 MB, free: 6.918 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/0.5323, allocations: 12.4 MB / 460.5 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001861/0.5325, allocations: 59.42 kB / 460.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008088/0.5333, allocations: 191.9 kB / 460.8 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003449/0.5368, allocations: 2.031 MB / 462.8 MB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02375/0.5606, allocations: 10.56 MB / 473.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05884/0.6195, allocations: 44.13 MB / 0.5054 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01291/0.6324, allocations: 4.838 MB / 0.5101 GB, free: 10.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002793/0.6353, allocations: 2.014 MB / 0.5121 GB, free: 8.508 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01165/0.6469, allocations: 7.117 MB / 0.519 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.647, allocations: 51.56 kB / 0.5191 GB, free: 1.066 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 5.44e-06/0.647, allocations: 0 / 0.5191 GB, free: 1.066 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.07243/0.7194, allocations: 19.65 MB / 0.5383 GB, free: 13.35 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.7196, allocations: 205.9 kB / 0.5385 GB, free: 13.11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00861/0.7282, allocations: 4.489 MB / 0.5429 GB, free: 8.598 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005651/0.7289, allocations: 57.7 kB / 0.5429 GB, free: 8.535 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002964/0.7318, allocations: 3.528 MB / 0.5464 GB, free: 4.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001288/0.7331, allocations: 0.8406 MB / 0.5472 GB, free: 4.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002858/0.736, allocations: 1.341 MB / 0.5485 GB, free: 2.754 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.7361, allocations: 301.1 kB / 0.5488 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003489/0.7396, allocations: 2.359 MB / 0.5511 GB, free: 96 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2249/0.9646, allocations: 6.17 MB / 0.5571 GB, free: 143.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.9747, allocations: 9.172 MB / 0.5661 GB, free: 136.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002124/0.975, allocations: 37.38 kB / 0.5661 GB, free: 136.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02054/0.9955, allocations: 9.548 MB / 0.5754 GB, free: 132.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.9957, allocations: 62.25 kB / 0.5755 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002278/0.9959, allocations: 133.4 kB / 0.5756 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004558/1, allocations: 1.377 MB / 0.5769 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005098/1.006, allocations: 1.474 MB / 0.5784 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/1.016, allocations: 8.471 MB / 0.5867 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/1.022, allocations: 351.7 kB / 0.587 GB, free: 127.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001065/1.023, allocations: 389.2 kB / 0.5874 GB, free: 127.9 MB / 478.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.004259/1.027, allocations: 2.5 MB / 0.5898 GB, free: 126.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008106/1.028, allocations: 397.8 kB / 0.5902 GB, free: 126.8 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007531/1.035, allocations: 4.12 MB / 0.5942 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-05/1.035, allocations: 28.62 kB / 0.5942 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/1.035, allocations: 5.188 kB / 0.5942 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/1.035, allocations: 9.797 kB / 0.5943 GB, free: 125.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01676/1.052, allocations: 10.14 MB / 0.6042 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.247e-05/1.052, allocations: 4 kB / 0.6042 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/1.054, allocations: 327.5 kB / 0.6045 GB, free: 116.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003402/1.057, allocations: 1.152 MB / 0.6056 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/1.057, allocations: 51.92 kB / 0.6056 GB, free: 115.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008768/1.066, allocations: 7.142 MB / 0.6126 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/1.066, allocations: 7.938 kB / 0.6126 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009858/1.076, allocations: 6.911 MB / 0.6194 GB, free: 101.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001664/1.078, allocations: 0.7301 MB / 0.6201 GB, free: 100.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008462/1.079, allocations: 39.98 kB / 0.6201 GB, free: 100.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.081, allocations: 115.9 kB / 0.6202 GB, free: 100.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003888/1.081, allocations: 146.6 kB / 0.6204 GB, free: 100.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/1.081, allocations: 60 kB / 0.6204 GB, free: 100 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004006/1.085, allocations: 2.822 MB / 0.6232 GB, free: 97.21 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.11e-07/1.085, allocations: 0 / 0.6232 GB, free: 97.21 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006045/1.091, allocations: 1.218 MB / 0.6244 GB, free: 96 MB / 478.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.0007189/1.092, allocations: 230.8 kB / 0.6246 GB, free: 95.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008774/1.101, allocations: 5.778 MB / 0.6302 GB, free: 90.02 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/1.101, allocations: 0 / 0.6302 GB, free: 90.02 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/1.103, allocations: 1.86 MB / 0.6321 GB, free: 88.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.106, allocations: 0.5424 MB / 0.6326 GB, free: 87.63 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01734/1.124, allocations: 11.56 MB / 0.6439 GB, free: 75.97 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004093/1.128, allocations: 3.847 MB / 0.6476 GB, free: 72.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.129, allocations: 315.4 kB / 0.6479 GB, free: 71.79 MB / 478.1 MB Notification: Performance of SimCode: time 8.42e-07/1.129, allocations: 0 / 0.6479 GB, free: 71.79 MB / 478.1 MB Notification: Performance of Templates: time 0.3377/1.467, allocations: 91.1 MB / 0.7369 GB, free: 145.3 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches