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.0008793/0.0008793, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.000933/0.000933, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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.9015/0.9015, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.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.533e-06/1.533e-06, allocations: 0 / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.223e-05, allocations: 2.312 kB / 273.4 MB, free: 1.074 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01873/0.01876, allocations: 16.96 MB / 290.3 MB, free: 44 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1164/0.1352, allocations: 6.197 MB / 296.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002584/0.1378, allocations: 173.5 kB / 296.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007915/0.1457, allocations: 6.717 MB / 303.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006186/0.1519, allocations: 3.067 MB / 306.5 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.1551, allocations: 2.518 MB / 309 MB, free: 8.859 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008327/0.1634, allocations: 11.09 MB / 320.1 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00706/0.1705, allocations: 7.61 MB / 327.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007539/0.178, allocations: 6.807 MB / 334.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004397/0.1824, allocations: 4.587 MB / 339.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.1834, allocations: 0.7383 MB / 339.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.1857, allocations: 1.869 MB / 341.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.1881, allocations: 4.115 MB / 345.8 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.1904, allocations: 2.583 MB / 348.4 MB, free: 5.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006576/0.197, allocations: 8.422 MB / 356.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.197, allocations: 0 / 356.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.197, allocations: 0 / 356.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002053/0.1972, allocations: 0 / 356.8 MB, free: 13.36 MB / 314.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.009128/0.2063, allocations: 8.233 MB / 365.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.2063, allocations: 15.98 kB / 365.1 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00566/0.212, allocations: 2.03 MB / 367.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.2165, allocations: 4.16 MB / 371.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.2167, allocations: 431.7 kB / 371.7 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005966/0.2173, allocations: 0.5821 MB / 372.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008127/0.2254, allocations: 8.308 MB / 380.6 MB, free: 4.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.2255, allocations: 67.47 kB / 380.6 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000423/0.2259, allocations: 279.6 kB / 380.9 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001751/0.2277, allocations: 2.312 MB / 383.2 MB, free: 1.777 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006214/0.2339, allocations: 4.07 MB / 387.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2228/0.4567, allocations: 47.82 MB / 435.1 MB, free: 82.03 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006894/0.4636, allocations: 3.022 MB / 438.1 MB, free: 81.8 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008258/0.4645, allocations: 0.6811 MB / 438.8 MB, free: 81.77 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007907/0.4724, allocations: 6.783 MB / 445.6 MB, free: 80.95 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.4724, allocations: 59.61 kB / 445.7 MB, free: 80.91 MB / 378.8 MB Notification: Performance of pre-optimization done (n=227): time 3.918e-06/0.4724, allocations: 2.812 kB / 445.7 MB, free: 80.91 MB / 378.8 MB Notification: Performance of matching and sorting (n=276): time 0.03869/0.5111, allocations: 17.63 MB / 463.3 MB, free: 77.6 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.5111, allocations: 364.1 kB / 463.7 MB, free: 77.16 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.514, allocations: 5.067 MB / 468.7 MB, free: 73.6 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.5141, allocations: 73.17 kB / 468.8 MB, free: 73.55 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.5151, allocations: 4.637 MB / 473.4 MB, free: 69.59 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.5155, allocations: 1.092 MB / 474.5 MB, free: 68.69 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.5166, allocations: 1.717 MB / 476.2 MB, free: 67.48 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 1.927e-05/0.5167, allocations: 301.1 kB / 476.5 MB, free: 67.18 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/0.5182, allocations: 1.206 MB / 477.7 MB, free: 65.97 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002365/0.5206, allocations: 6.494 MB / 484.2 MB, free: 56.91 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.5242, allocations: 8.284 MB / 492.5 MB, free: 46.76 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.809e-05/0.5242, allocations: 52 kB / 492.6 MB, free: 46.71 MB / 378.8 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.006356/0.5306, allocations: 6.736 MB / 499.3 MB, free: 39.92 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.5306, allocations: 84 kB / 499.4 MB, free: 39.84 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.335e-05/0.5307, allocations: 187 kB / 499.6 MB, free: 39.66 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002736/0.5334, allocations: 1.449 MB / 0.4893 GB, free: 38.2 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.5361, allocations: 1.989 MB / 0.4912 GB, free: 36.21 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/0.5415, allocations: 6.737 MB / 0.4978 GB, free: 29.18 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/0.5443, allocations: 395.6 kB / 0.4982 GB, free: 28.8 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/0.5447, allocations: 460 kB / 0.4986 GB, free: 28.35 MB / 378.8 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.001273/0.5459, allocations: 0.8399 MB / 0.4994 GB, free: 27.5 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004389/0.5464, allocations: 371.6 kB / 0.4998 GB, free: 27.13 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.5494, allocations: 2.27 MB / 0.502 GB, free: 24.83 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.5494, allocations: 28 kB / 0.502 GB, free: 24.8 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.5494, allocations: 8 kB / 0.502 GB, free: 24.8 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.5494, allocations: 15.89 kB / 0.5021 GB, free: 24.78 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008442/0.5579, allocations: 8.286 MB / 0.5101 GB, free: 16.12 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.5579, allocations: 24.06 kB / 0.5102 GB, free: 16.09 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000723/0.5586, allocations: 383.5 kB / 0.5105 GB, free: 15.72 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.5611, allocations: 1.433 MB / 0.5119 GB, free: 14.27 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.5612, allocations: 75.94 kB / 0.512 GB, free: 14.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004678/0.5659, allocations: 6.588 MB / 0.5184 GB, free: 7.309 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.5659, allocations: 30.83 kB / 0.5185 GB, free: 7.281 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/0.5695, allocations: 3.784 MB / 0.5222 GB, free: 3.078 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004942/0.57, allocations: 0.5391 MB / 0.5227 GB, free: 2.535 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/0.5704, allocations: 71.98 kB / 0.5228 GB, free: 2.465 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/0.5714, allocations: 75.97 kB / 0.5228 GB, free: 2.391 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.5717, allocations: 244.5 kB / 0.5231 GB, free: 2.152 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.5718, allocations: 79.98 kB / 0.5231 GB, free: 2.074 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001258/0.573, allocations: 1.997 MB / 0.5251 GB, free: 108 kB / 378.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.573, allocations: 4.031 kB / 0.5251 GB, free: 104 kB / 378.8 MB Notification: Performance of remove unused functions: time 0.004334/0.5774, allocations: 1.879 MB / 0.5269 GB, free: 14.22 MB / 394.8 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.0004685/0.5778, allocations: 298.8 kB / 0.5272 GB, free: 13.93 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00419/0.582, allocations: 4.277 MB / 0.5314 GB, free: 9.625 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000171/0.5822, allocations: 124.2 kB / 0.5315 GB, free: 9.496 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.5835, allocations: 1.352 MB / 0.5328 GB, free: 8.109 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.5861, allocations: 1.191 MB / 0.534 GB, free: 6.957 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.5982, allocations: 12.94 MB / 0.5466 GB, free: 9.637 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/0.5999, allocations: 2.126 MB / 0.5487 GB, free: 7.484 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001818/0.6017, allocations: 0.7828 MB / 0.5495 GB, free: 6.703 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001303/0.603, allocations: 0.9014 MB / 0.5504 GB, free: 5.797 MB / 410.8 MB Notification: Performance of SimCode: time 9.22e-07/0.603, allocations: 0 / 0.5504 GB, free: 5.797 MB / 410.8 MB Notification: Performance of Templates: time 0.1787/0.7817, allocations: 68.98 MB / 0.6177 GB, free: 148.9 MB / 442.8 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.612557694781572]