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.001894/0.001894, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.002252/0.002252, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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 1.527/1.527, allocations: 177 MB / 204.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] 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.863e-06/1.863e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.283e-05, allocations: 10.25 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.02168/0.02171, allocations: 15.62 MB / 287.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1454/0.1671, allocations: 5.834 MB / 293.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004199/0.1713, allocations: 171.6 kB / 293.8 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01278/0.1841, allocations: 6.512 MB / 300.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007999/0.1921, allocations: 2.993 MB / 303.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005257/0.1973, allocations: 2.489 MB / 305.8 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01166/0.209, allocations: 11.12 MB / 316.9 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009399/0.2184, allocations: 7.442 MB / 324.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/0.2292, allocations: 4.922 MB / 329.3 MB, free: 7.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009319/0.2385, allocations: 4.681 MB / 334 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002336/0.2409, allocations: 0.75 MB / 334.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004638/0.2455, allocations: 1.884 MB / 336.6 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00555/0.2511, allocations: 4.084 MB / 340.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005492/0.2565, allocations: 2.583 MB / 343.3 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02006/0.2766, allocations: 13.59 MB / 356.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2766, allocations: 0 / 356.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2766, allocations: 0 / 356.9 MB, free: 12.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005314/0.2771, allocations: 4 kB / 356.9 MB, free: 12.2 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.02643/0.3036, allocations: 9.269 MB / 366.1 MB, free: 2.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.3036, allocations: 11.98 kB / 366.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04672/0.3503, allocations: 5.77 MB / 371.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01693/0.3673, allocations: 6.303 MB / 378.2 MB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004709/0.3677, allocations: 431.7 kB / 378.7 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002067/0.3698, allocations: 0.5938 MB / 379.2 MB, free: 5.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05276/0.4226, allocations: 17.45 MB / 396.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004237/0.423, allocations: 87.34 kB / 396.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0022/0.4252, allocations: 263.8 kB / 397 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007943/0.4331, allocations: 2.67 MB / 399.7 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03848/0.4716, allocations: 14.91 MB / 414.6 MB, free: 1.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3408/0.8124, allocations: 60.59 MB / 475.2 MB, free: 76.58 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0421/0.8545, allocations: 8.389 MB / 483.6 MB, free: 71.55 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005042/0.8596, allocations: 4.84 MB / 488.4 MB, free: 66.71 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/0.8606, allocations: 445.6 kB / 488.9 MB, free: 66.29 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/0.8607, allocations: 68.55 kB / 488.9 MB, free: 66.21 MB / 378.8 MB Notification: Performance of pre-optimization done (n=301): time 6.312e-06/0.8607, allocations: 7.328 kB / 488.9 MB, free: 66.21 MB / 378.8 MB Notification: Performance of matching and sorting (n=400): time 0.4671/1.328, allocations: 104.6 MB / 0.5797 GB, free: 140 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/1.328, allocations: 374.6 kB / 0.58 GB, free: 139.6 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008627/1.337, allocations: 6.359 MB / 0.5862 GB, free: 138.1 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/1.338, allocations: 91.61 kB / 0.5863 GB, free: 138.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/1.34, allocations: 4.855 MB / 0.5911 GB, free: 135.3 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.342, allocations: 1.503 MB / 0.5925 GB, free: 134.2 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003092/1.345, allocations: 1.972 MB / 0.5945 GB, free: 133.3 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.457e-05/1.345, allocations: 301.1 kB / 0.5948 GB, free: 133 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00802/1.353, allocations: 6.631 MB / 0.6012 GB, free: 130.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01074/1.364, allocations: 11.74 MB / 0.6127 GB, free: 120.4 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01956/1.383, allocations: 19.13 MB / 0.6314 GB, free: 101.6 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002217/1.384, allocations: 47.94 kB / 0.6314 GB, free: 101.5 MB / 410.8 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.07934/1.463, allocations: 27.28 MB / 0.6581 GB, free: 74.22 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003333/1.463, allocations: 83.94 kB / 0.6581 GB, free: 74.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003872/1.464, allocations: 164 kB / 0.6583 GB, free: 73.98 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05374/1.517, allocations: 12.05 MB / 0.6701 GB, free: 61.93 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01315/1.531, allocations: 2.168 MB / 0.6722 GB, free: 59.75 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2223/1.753, allocations: 47.45 MB / 0.7185 GB, free: 122.8 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01022/1.763, allocations: 0.9591 MB / 0.7195 GB, free: 122.8 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002076/1.765, allocations: 0.5211 MB / 0.72 GB, free: 122.8 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 762 * 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 (1079): * Single equations (assignments): 1072 * 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,74,68.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,33)} Notification: Performance of prepare postOptimizeDAE: time 0.00715/1.772, allocations: 3.431 MB / 0.7233 GB, free: 122.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002738/1.775, allocations: 0.6752 MB / 0.724 GB, free: 122.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03915/1.814, allocations: 20.64 MB / 0.7441 GB, free: 116.9 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001179/1.814, allocations: 54.91 kB / 0.7442 GB, free: 116.9 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-05/1.814, allocations: 15.75 kB / 0.7442 GB, free: 116.9 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000113/1.814, allocations: 22.12 kB / 0.7442 GB, free: 116.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06296/1.877, allocations: 35.75 MB / 0.7791 GB, free: 88.66 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.917e-05/1.877, allocations: 8 kB / 0.7791 GB, free: 88.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/1.881, allocations: 0.6243 MB / 0.7797 GB, free: 88.05 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03136/1.912, allocations: 11.52 MB / 0.791 GB, free: 76.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001429/1.913, allocations: 75.67 kB / 0.7911 GB, free: 76.57 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05613/1.97, allocations: 45.17 MB / 0.8352 GB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.97, allocations: 8 kB / 0.8352 GB, free: 31.38 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1945/2.164, allocations: 29.41 MB / 0.8639 GB, free: 118.2 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/2.166, allocations: 0.6244 MB / 0.8645 GB, free: 118.2 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002129/2.168, allocations: 71.33 kB / 0.8646 GB, free: 118.2 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006174/2.174, allocations: 0.6487 MB / 0.8652 GB, free: 118.2 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00187/2.176, allocations: 300 kB / 0.8655 GB, free: 118.2 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005364/2.177, allocations: 102.5 kB / 0.8656 GB, free: 118.2 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.007106/2.184, allocations: 3.873 MB / 0.8694 GB, free: 118 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.7e-07/2.184, allocations: 0 / 0.8694 GB, free: 118 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01151/2.195, allocations: 2.767 MB / 0.8721 GB, free: 118 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (254): * Single equations (assignments): 247 * 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 {(7,66,63.3%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,37)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001359/2.197, allocations: 324.3 kB / 0.8724 GB, free: 117.9 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02124/2.218, allocations: 15.57 MB / 0.8876 GB, free: 113.5 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/2.218, allocations: 2.656 kB / 0.8876 GB, free: 113.5 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009951/2.228, allocations: 6.942 MB / 0.8944 GB, free: 110.7 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005843/2.234, allocations: 0.8615 MB / 0.8952 GB, free: 110.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02779/2.262, allocations: 20.87 MB / 0.9156 GB, free: 95.32 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006046/2.268, allocations: 4.818 MB / 0.9203 GB, free: 91.77 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.006091/2.274, allocations: 2.978 MB / 0.9232 GB, free: 89.91 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00187/2.276, allocations: 369 kB / 0.9236 GB, free: 89.58 MB / 410.8 MB Notification: Performance of SimCode: time 1.503e-06/2.276, allocations: 0 / 0.9236 GB, free: 89.58 MB / 410.8 MB Notification: Performance of Templates: time 0.2981/2.574, allocations: 123.6 MB / 1.044 GB, free: 104.7 MB / 410.8 MB " [Timeout remaining time 657] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.981107120052911]