Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 109.7 kB / 18.4 MB, free: 4.648 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.001255/0.001255, allocations: 183 kB / 19.34 MB, free: 3.727 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.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.2 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.001175/0.001175, allocations: 51.94 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0746/0.07578, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.174/0.2498, allocations: 18.57 MB / 394.4 MB, free: 2.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.2626, allocations: 6.147 MB / 400.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004088/0.2668, allocations: 144.6 kB / 400.7 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01161/0.2784, allocations: 6.283 MB / 407 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007563/0.286, allocations: 2.933 MB / 409.9 MB, free: 8.926 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004789/0.2908, allocations: 2.28 MB / 412.2 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01159/0.3024, allocations: 8.842 MB / 421 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009825/0.3123, allocations: 8.428 MB / 429.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004781/0.3171, allocations: 3.237 MB / 432.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005734/0.3228, allocations: 4.187 MB / 436.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.3246, allocations: 0.7188 MB / 437.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.3287, allocations: 1.904 MB / 439.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004099/0.3328, allocations: 3.87 MB / 443.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004298/0.3371, allocations: 4.158 MB / 447.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.3491, allocations: 13.29 MB / 460.8 MB, free: 10.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3491, allocations: 4 kB / 460.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3491, allocations: 0 / 460.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002229/0.3493, allocations: 0 / 460.8 MB, free: 10.29 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: 2349 * Number of variables: 2349 Notification: Performance of Generate backend data structure: time 0.01629/0.3657, allocations: 9.161 MB / 470 MB, free: 1.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.3657, allocations: 8.031 kB / 470 MB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04293/0.4086, allocations: 4.896 MB / 474.9 MB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0138/0.4225, allocations: 6.727 MB / 481.6 MB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002663/0.4227, allocations: 435.7 kB / 482 MB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.4238, allocations: 0.5821 MB / 482.6 MB, free: 4.312 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0251/0.4489, allocations: 17.06 MB / 499.7 MB, free: 2.297 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/0.4491, allocations: 83.36 kB / 499.8 MB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006225/0.4497, allocations: 271.8 kB / 0.4883 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004061/0.4538, allocations: 2.659 MB / 0.4909 GB, free: 15.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02476/0.4786, allocations: 14.79 MB / 0.5053 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3837/0.8623, allocations: 64.45 MB / 0.5683 GB, free: 109.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/0.8859, allocations: 8.776 MB / 0.5769 GB, free: 108.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00545/0.8914, allocations: 5.063 MB / 0.5818 GB, free: 107.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.021/0.9124, allocations: 18.66 MB / 0.6 GB, free: 98.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.9124, allocations: 73.81 kB / 0.6001 GB, free: 98.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 5.11e-06/0.9125, allocations: 0 / 0.6001 GB, free: 98.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.2254/1.138, allocations: 74.44 MB / 0.6728 GB, free: 32.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/1.138, allocations: 376.6 kB / 0.6732 GB, free: 31.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007471/1.145, allocations: 6.434 MB / 0.6794 GB, free: 25.33 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005107/1.146, allocations: 85.06 kB / 0.6795 GB, free: 25.25 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002048/1.148, allocations: 4.942 MB / 0.6843 GB, free: 20.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.149, allocations: 1.436 MB / 0.6857 GB, free: 19.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002594/1.152, allocations: 1.995 MB / 0.6877 GB, free: 17.24 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.183e-05/1.152, allocations: 305.1 kB / 0.688 GB, free: 16.94 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006264/1.158, allocations: 5.989 MB / 0.6938 GB, free: 10.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008425/1.166, allocations: 11.02 MB / 0.7046 GB, free: 13.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02084/1.187, allocations: 17.96 MB / 0.7221 GB, free: 9.215 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.973e-05/1.187, allocations: 52 kB / 0.7222 GB, free: 9.164 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1233) (initialization): time 0.04438/1.232, allocations: 23.37 MB / 0.745 GB, free: 1.754 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/1.232, allocations: 80 kB / 0.7451 GB, free: 1.676 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002177/1.232, allocations: 172 kB / 0.7453 GB, free: 1.508 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1905/1.423, allocations: 7.447 MB / 0.7525 GB, free: 173.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007739/1.431, allocations: 2.191 MB / 0.7547 GB, free: 173.3 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04578/1.476, allocations: 38.12 MB / 0.7919 GB, free: 157.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007557/1.484, allocations: 0.7421 MB / 0.7926 GB, free: 157.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000799/1.485, allocations: 0.5285 MB / 0.7931 GB, free: 157.2 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 785 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1091): * Single equations (assignments): 1084 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.004121/1.489, allocations: 3.434 MB / 0.7965 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009695/1.49, allocations: 0.608 MB / 0.7971 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02867/1.519, allocations: 16.95 MB / 0.8136 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.257e-05/1.519, allocations: 31.8 kB / 0.8137 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/1.519, allocations: 0 / 0.8137 GB, free: 141.2 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003224/1.522, allocations: 1.695 MB / 0.8153 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001161/1.523, allocations: 67.81 kB / 0.8154 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00411/1.527, allocations: 447.2 kB / 0.8158 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001235/1.528, allocations: 325.9 kB / 0.8161 GB, free: 139 MB / 0.5138 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02459/1.553, allocations: 15.43 MB / 0.8312 GB, free: 123.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01638/1.569, allocations: 15.95 MB / 0.8468 GB, free: 107.8 MB / 0.5138 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00479/1.574, allocations: 5.04 MB / 0.8517 GB, free: 102.7 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004871/1.579, allocations: 4.08 MB / 0.8557 GB, free: 98.62 MB / 0.5138 GB Notification: Performance of Backend: time 3.71e-07/1.579, allocations: 0 / 0.8557 GB, free: 98.62 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01618/1.595, allocations: 10.54 MB / 0.866 GB, free: 88.17 MB / 0.5138 GB Notification: Performance of SimCode: time 0.02067/1.616, allocations: 16.6 MB / 0.8822 GB, free: 71.55 MB / 0.5138 GB Notification: Performance of Templates: time 0.3298/1.946, allocations: 126.9 MB / 1.006 GB, free: 126.6 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches