Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001793/0.003019, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002573, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9488/0.9488, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09948/1.048, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-06/1.138e-05, allocations: 2.312 kB / 244.5 MB, free: 14.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01207/0.01208, allocations: 17.14 MB / 261.7 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009661/0.02174, allocations: 6.268 MB / 267.9 MB, free: 6.812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.0236, allocations: 175.1 kB / 268.1 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005717/0.02932, allocations: 6.323 MB / 274.4 MB, free: 304 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1391/0.1684, allocations: 2.992 MB / 277.4 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004057/0.1725, allocations: 2.333 MB / 279.8 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01089/0.1834, allocations: 10.11 MB / 289.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006783/0.1902, allocations: 6.737 MB / 296.6 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007551/0.1977, allocations: 6.335 MB / 302.9 MB, free: 10.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005229/0.2029, allocations: 4.558 MB / 307.5 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001571/0.2045, allocations: 0.7415 MB / 308.2 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.2074, allocations: 1.921 MB / 310.2 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00255/0.21, allocations: 3.663 MB / 313.8 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002542/0.2125, allocations: 2.081 MB / 315.9 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007239/0.2197, allocations: 7.788 MB / 323.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-05/0.2198, allocations: 0 / 323.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2198, allocations: 0 / 323.7 MB, free: 6.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001789/0.2199, allocations: 0 / 323.7 MB, free: 6.148 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.01031/0.2302, allocations: 9.834 MB / 333.5 MB, free: 12.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2303, allocations: 12.03 kB / 333.5 MB, free: 12.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006675/0.237, allocations: 2.104 MB / 335.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00482/0.2418, allocations: 4.144 MB / 339.8 MB, free: 6.828 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001972/0.242, allocations: 435.4 kB / 340.2 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007671/0.2427, allocations: 0.5802 MB / 340.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00887/0.2516, allocations: 8.299 MB / 349.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/0.2518, allocations: 82.23 kB / 349.2 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/0.2522, allocations: 265.4 kB / 349.4 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.2539, allocations: 2.335 MB / 351.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006499/0.2604, allocations: 4.073 MB / 355.8 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04059/0.301, allocations: 47.84 MB / 403.7 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00673/0.3078, allocations: 2.978 MB / 406.6 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008591/0.3086, allocations: 0.6707 MB / 407.3 MB, free: 3.734 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009693/0.3183, allocations: 6.734 MB / 414 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/0.3184, allocations: 63.45 kB / 414.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=227): time 3.527e-06/0.3184, allocations: 4 kB / 414.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=276): time 0.1721/0.4905, allocations: 17.44 MB / 431.6 MB, free: 107.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.4905, allocations: 161 kB / 431.7 MB, free: 107.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00582/0.4964, allocations: 5.066 MB / 436.8 MB, free: 106.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.4966, allocations: 71.42 kB / 436.8 MB, free: 106.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/0.4983, allocations: 4.633 MB / 441.5 MB, free: 103.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007495/0.4991, allocations: 1.094 MB / 442.6 MB, free: 102.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/0.5004, allocations: 1.724 MB / 444.3 MB, free: 102.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.214e-05/0.5004, allocations: 303.3 kB / 444.6 MB, free: 102.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.5021, allocations: 1.197 MB / 445.8 MB, free: 102.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/0.5051, allocations: 6.506 MB / 452.3 MB, free: 95.37 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005585/0.5107, allocations: 8.262 MB / 460.6 MB, free: 88.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-05/0.5108, allocations: 54.16 kB / 460.6 MB, free: 88.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.007559/0.5183, allocations: 6.737 MB / 467.3 MB, free: 87.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/0.5184, allocations: 87.56 kB / 467.4 MB, free: 87.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.882e-05/0.5185, allocations: 187 kB / 467.6 MB, free: 87.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/0.5213, allocations: 1.446 MB / 469.1 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003066/0.5244, allocations: 2.23 MB / 471.3 MB, free: 87.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/0.5299, allocations: 6.771 MB / 478.1 MB, free: 83.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/0.5337, allocations: 406.7 kB / 478.5 MB, free: 83.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003862/0.5341, allocations: 458.1 kB / 478.9 MB, free: 83.44 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.001798/0.5359, allocations: 0.8431 MB / 479.7 MB, free: 83.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005383/0.5364, allocations: 368.2 kB / 480.1 MB, free: 83.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.5395, allocations: 2.273 MB / 482.4 MB, free: 82.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.5395, allocations: 30.86 kB / 482.4 MB, free: 82.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.5395, allocations: 11.47 kB / 482.4 MB, free: 82.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.5395, allocations: 15.45 kB / 482.4 MB, free: 82.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008096/0.5476, allocations: 8.273 MB / 490.7 MB, free: 74.94 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.5476, allocations: 22.5 kB / 490.7 MB, free: 74.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.5485, allocations: 454.8 kB / 491.2 MB, free: 74.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/0.549, allocations: 0.549 MB / 491.7 MB, free: 73.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00247/0.5514, allocations: 1.42 MB / 493.1 MB, free: 72.51 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.5515, allocations: 64 kB / 493.2 MB, free: 72.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004623/0.5562, allocations: 6.613 MB / 499.8 MB, free: 65.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.5562, allocations: 27.88 kB / 499.9 MB, free: 65.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003378/0.5596, allocations: 3.783 MB / 0.4918 GB, free: 61.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/0.56, allocations: 75.97 kB / 0.4919 GB, free: 61.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.5612, allocations: 79.98 kB / 0.492 GB, free: 61.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.5614, allocations: 248.4 kB / 0.4922 GB, free: 61.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.5615, allocations: 78.92 kB / 0.4923 GB, free: 60.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001359/0.5629, allocations: 1.995 MB / 0.4942 GB, free: 59.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5629, allocations: 0 / 0.4942 GB, free: 59.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004958/0.5678, allocations: 1.883 MB / 0.4961 GB, free: 57.37 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.0004787/0.5683, allocations: 320.1 kB / 0.4964 GB, free: 57.06 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003957/0.5723, allocations: 4.262 MB / 0.5005 GB, free: 52.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001897/0.5725, allocations: 152 kB / 0.5007 GB, free: 52.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.5735, allocations: 1.348 MB / 0.502 GB, free: 51.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002847/0.5764, allocations: 1.596 MB / 0.5036 GB, free: 49.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.5935, allocations: 13.33 MB / 0.5166 GB, free: 36.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.5954, allocations: 2.132 MB / 0.5187 GB, free: 34.05 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00199/0.5973, allocations: 0.7778 MB / 0.5194 GB, free: 33.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.5985, allocations: 0.8975 MB / 0.5203 GB, free: 32.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.784e-06/0.5985, allocations: 0 / 0.5203 GB, free: 32.37 MB / 394.7 MB Notification: Performance of Templates: time 0.1919/0.7905, allocations: 70.56 MB / 0.5892 GB, free: 101.6 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.781877608038485]