Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001143/0.001143, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001754/0.002897, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001429/0.00251, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9686/0.9686, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09073/1.059, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.7 MB " [Timeout remaining time 179] 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.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182e-05/1.363e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01796/0.01797, allocations: 17.15 MB / 262.3 MB, free: 12.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.03169, allocations: 6.275 MB / 268.6 MB, free: 6.062 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.03352, allocations: 171.1 kB / 268.8 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1157/0.1492, allocations: 6.317 MB / 275.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00642/0.1557, allocations: 3.001 MB / 278.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.159, allocations: 2.333 MB / 280.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009409/0.1685, allocations: 10.09 MB / 290.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005589/0.174, allocations: 6.734 MB / 297.3 MB, free: 13.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/0.1806, allocations: 6.349 MB / 303.6 MB, free: 9.117 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00434/0.1849, allocations: 4.55 MB / 308.2 MB, free: 4.875 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008481/0.1858, allocations: 0.7383 MB / 308.9 MB, free: 4.137 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.1881, allocations: 1.929 MB / 310.8 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.1902, allocations: 3.658 MB / 314.5 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.1919, allocations: 2.081 MB / 316.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006/0.1979, allocations: 7.772 MB / 324.3 MB, free: 5.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.046e-05/0.1979, allocations: 4 kB / 324.3 MB, free: 5.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1979, allocations: 0 / 324.3 MB, free: 5.191 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.706e-05/0.198, allocations: 0 / 324.3 MB, free: 5.191 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.009458/0.2074, allocations: 9.836 MB / 334.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.2075, allocations: 8.625 kB / 334.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006758/0.2142, allocations: 2.111 MB / 336.3 MB, free: 9.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/0.2187, allocations: 4.147 MB / 340.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.2189, allocations: 437.3 kB / 340.9 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005942/0.2195, allocations: 0.5826 MB / 341.5 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.2309, allocations: 8.296 MB / 349.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003534/0.2313, allocations: 81.53 kB / 349.8 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/0.2325, allocations: 267.2 kB / 350.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002815/0.2353, allocations: 2.195 MB / 352.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.2495, allocations: 4.074 MB / 356.4 MB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04711/0.2966, allocations: 47.83 MB / 404.2 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007516/0.3041, allocations: 2.973 MB / 407.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.3052, allocations: 0.6809 MB / 407.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.3153, allocations: 6.732 MB / 414.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.279e-05/0.3153, allocations: 60.56 kB / 414.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=227): time 5.04e-06/0.3153, allocations: 0 / 414.6 MB, free: 12.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=276): time 0.1846/0.4999, allocations: 17.83 MB / 432.5 MB, free: 107.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.5, allocations: 159.7 kB / 432.6 MB, free: 107 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006072/0.506, allocations: 5.059 MB / 437.7 MB, free: 106.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004513/0.5065, allocations: 68.2 kB / 437.8 MB, free: 106.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.5082, allocations: 4.643 MB / 442.4 MB, free: 103.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009716/0.5092, allocations: 1.089 MB / 443.5 MB, free: 102.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/0.5106, allocations: 1.726 MB / 445.2 MB, free: 102.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 2.964e-05/0.5106, allocations: 306.4 kB / 445.5 MB, free: 102.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.5124, allocations: 1.199 MB / 446.7 MB, free: 102.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003148/0.5156, allocations: 6.501 MB / 453.2 MB, free: 95.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005649/0.5212, allocations: 8.9 MB / 462.1 MB, free: 88.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.5213, allocations: 53.19 kB / 462.2 MB, free: 88.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01152/0.5329, allocations: 6.737 MB / 468.9 MB, free: 87.49 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.37e-05/0.5329, allocations: 87.06 kB / 469 MB, free: 87.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000231/0.5332, allocations: 191.2 kB / 469.2 MB, free: 87.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004277/0.5375, allocations: 1.468 MB / 470.6 MB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005125/0.5426, allocations: 2.23 MB / 472.9 MB, free: 87.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007942/0.5505, allocations: 6.656 MB / 479.5 MB, free: 83.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006195/0.5567, allocations: 408.5 kB / 479.9 MB, free: 83.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008454/0.5576, allocations: 462.4 kB / 480.4 MB, free: 83.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 840 * 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 (1111): * Single equations (assignments): 1104 * 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,21,76.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.002495/0.5601, allocations: 0.8388 MB / 481.2 MB, free: 82.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009827/0.561, allocations: 368.9 kB / 481.6 MB, free: 82.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/0.5654, allocations: 2.275 MB / 483.9 MB, free: 80.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/0.5655, allocations: 24 kB / 483.9 MB, free: 80.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.5655, allocations: 7.938 kB / 483.9 MB, free: 80.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.5655, allocations: 15.95 kB / 483.9 MB, free: 80.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.5765, allocations: 8.284 MB / 492.2 MB, free: 72.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/0.5766, allocations: 27.94 kB / 492.2 MB, free: 72.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/0.5774, allocations: 445 kB / 492.6 MB, free: 72.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001018/0.5785, allocations: 0.5527 MB / 493.2 MB, free: 71.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002668/0.5811, allocations: 1.437 MB / 494.6 MB, free: 70.19 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.5813, allocations: 83.89 kB / 494.7 MB, free: 70.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004896/0.5862, allocations: 6.519 MB / 0.4895 GB, free: 63.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/0.5862, allocations: 27.88 kB / 0.4895 GB, free: 63.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003876/0.59, allocations: 3.793 MB / 0.4932 GB, free: 59.21 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/0.5911, allocations: 75.97 kB / 0.4933 GB, free: 59.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/0.5925, allocations: 83.03 kB / 0.4934 GB, free: 59.06 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.5928, allocations: 244.4 kB / 0.4936 GB, free: 58.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/0.5929, allocations: 80 kB / 0.4937 GB, free: 58.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001652/0.5946, allocations: 1.997 MB / 0.4956 GB, free: 57.01 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5946, allocations: 0.9844 kB / 0.4956 GB, free: 57.01 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005053/0.5996, allocations: 1.886 MB / 0.4975 GB, free: 55.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 2 (revolute1.phi,revolute1.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 (219): * Single equations (assignments): 212 * 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,21,76.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005939/0.6002, allocations: 315.2 kB / 0.4978 GB, free: 54.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005003/0.6052, allocations: 4.424 MB / 0.5021 GB, free: 50.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002408/0.6055, allocations: 148 kB / 0.5022 GB, free: 50.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002554/0.608, allocations: 2.185 MB / 0.5044 GB, free: 48.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/0.6125, allocations: 5.687 MB / 0.5099 GB, free: 41.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/0.6321, allocations: 13.33 MB / 0.5229 GB, free: 28.31 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/0.634, allocations: 2.123 MB / 0.525 GB, free: 26.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002164/0.6361, allocations: 0.7716 MB / 0.5258 GB, free: 25.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/0.6375, allocations: 0.8842 MB / 0.5266 GB, free: 24.5 MB / 394.7 MB Notification: Performance of SimCode: time 2.394e-06/0.6375, allocations: 0 / 0.5266 GB, free: 24.5 MB / 394.7 MB Notification: Performance of Templates: time 0.2093/0.8468, allocations: 69.61 MB / 0.5946 GB, free: 95.89 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/PlanarFourbar/PlanarFourbar.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.203095396049321]