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.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.001103/0.001103, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001601/0.002704, allocations: 453.8 kB / 10.46 MB, free: 236 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.00103/0.00103, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.002135, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9121/0.9121, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1605/1.073, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 222 MB, free: 68 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.26e-05, allocations: 6.109 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01397/0.01399, allocations: 17.62 MB / 239.6 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.02526, allocations: 6.382 MB / 246 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002428/0.02768, allocations: 171.1 kB / 246.2 MB, free: 7.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006232/0.03392, allocations: 6.358 MB / 252.5 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005306/0.03922, allocations: 3.036 MB / 255.6 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.04217, allocations: 2.354 MB / 257.9 MB, free: 12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008848/0.05102, allocations: 9.271 MB / 267.2 MB, free: 2.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007093/0.05811, allocations: 6.747 MB / 273.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007026/0.06514, allocations: 5.974 MB / 279.9 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004767/0.0699, allocations: 4.579 MB / 284.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008743/0.07078, allocations: 0.7383 MB / 285.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1291/0.1999, allocations: 1.92 MB / 287.1 MB, free: 18.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004609/0.2045, allocations: 3.692 MB / 290.8 MB, free: 18.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004357/0.2088, allocations: 2.1 MB / 292.9 MB, free: 18.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008299/0.2171, allocations: 7.832 MB / 300.8 MB, free: 17.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.2171, allocations: 3.328 kB / 300.8 MB, free: 17.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2171, allocations: 0 / 300.8 MB, free: 17.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0001618/0.2173, allocations: 0 / 300.8 MB, free: 17.46 MB / 282.7 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.01085/0.2281, allocations: 9.854 MB / 310.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.2282, allocations: 11.03 kB / 310.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006768/0.2349, allocations: 2.108 MB / 312.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004713/0.2397, allocations: 4.233 MB / 317 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.2398, allocations: 434.3 kB / 317.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006271/0.2405, allocations: 0.5849 MB / 318 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008937/0.2494, allocations: 8.291 MB / 326.3 MB, free: 8.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.2496, allocations: 89.36 kB / 326.4 MB, free: 8.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004553/0.25, allocations: 271.6 kB / 326.6 MB, free: 7.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001601/0.2516, allocations: 2.196 MB / 328.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006371/0.258, allocations: 4.068 MB / 332.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04251/0.3005, allocations: 47.97 MB / 380.9 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00698/0.3075, allocations: 2.962 MB / 383.8 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008017/0.3083, allocations: 0.6861 MB / 384.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009017/0.3173, allocations: 6.772 MB / 391.3 MB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.3173, allocations: 56.56 kB / 391.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of pre-optimization done (n=227): time 3.818e-06/0.3173, allocations: 0 / 391.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of matching and sorting (n=276): time 0.04976/0.3671, allocations: 17.91 MB / 409.2 MB, free: 7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.3672, allocations: 157.8 kB / 409.4 MB, free: 6.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005675/0.3729, allocations: 5.123 MB / 414.5 MB, free: 2.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001756/0.373, allocations: 65.7 kB / 414.6 MB, free: 2.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.3749, allocations: 4.64 MB / 419.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007485/0.3757, allocations: 1.093 MB / 420.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001741/0.3774, allocations: 1.719 MB / 422 MB, free: 11.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.3775, allocations: 301.1 kB / 422.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001855/0.3794, allocations: 1.202 MB / 423.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/0.3836, allocations: 6.5 MB / 430 MB, free: 1.262 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1248/0.5084, allocations: 8.897 MB / 438.9 MB, free: 111.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/0.5085, allocations: 52.84 kB / 439 MB, free: 111.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.01023/0.5187, allocations: 6.743 MB / 445.7 MB, free: 109.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.181e-05/0.5188, allocations: 84.22 kB / 445.8 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001688/0.5189, allocations: 196.4 kB / 446 MB, free: 109.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.5219, allocations: 1.466 MB / 447.5 MB, free: 109.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003292/0.5252, allocations: 2.226 MB / 449.7 MB, free: 109.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005528/0.5307, allocations: 6.659 MB / 456.3 MB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003659/0.5343, allocations: 404.4 kB / 456.7 MB, free: 105.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003851/0.5347, allocations: 454.2 kB / 457.2 MB, free: 105.3 MB / 378.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.002055/0.5368, allocations: 0.8513 MB / 458 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005824/0.5374, allocations: 370.6 kB / 458.4 MB, free: 105 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003227/0.5406, allocations: 2.274 MB / 460.7 MB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.208e-05/0.5406, allocations: 24.97 kB / 460.7 MB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.5406, allocations: 7.844 kB / 460.7 MB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.5406, allocations: 14.62 kB / 460.7 MB, free: 104.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009166/0.5498, allocations: 8.336 MB / 469 MB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/0.5498, allocations: 26.67 kB / 469.1 MB, free: 102.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008441/0.5507, allocations: 441 kB / 469.5 MB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009139/0.5516, allocations: 0.7981 MB / 470.3 MB, free: 101.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/0.5542, allocations: 1.46 MB / 471.8 MB, free: 100.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.5543, allocations: 68.81 kB / 471.8 MB, free: 100.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004649/0.5589, allocations: 6.519 MB / 478.3 MB, free: 93.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/0.5589, allocations: 27.88 kB / 478.4 MB, free: 93.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.5624, allocations: 3.796 MB / 482.2 MB, free: 89.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004558/0.5629, allocations: 71.98 kB / 482.2 MB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.5641, allocations: 83.97 kB / 482.3 MB, free: 89.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000414/0.5646, allocations: 245.4 kB / 482.6 MB, free: 89.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.5647, allocations: 82.33 kB / 482.6 MB, free: 89.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001558/0.5662, allocations: 2.034 MB / 484.7 MB, free: 87.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.5662, allocations: 0 / 484.7 MB, free: 87.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004821/0.5711, allocations: 1.901 MB / 486.6 MB, free: 85.52 MB / 378.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.0004724/0.5715, allocations: 318.4 kB / 486.9 MB, free: 85.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.5753, allocations: 4.43 MB / 491.3 MB, free: 81.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001992/0.5755, allocations: 152.9 kB / 491.5 MB, free: 80.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002319/0.5778, allocations: 2.182 MB / 493.7 MB, free: 78.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/0.5812, allocations: 5.697 MB / 499.3 MB, free: 72.23 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/0.5981, allocations: 13.42 MB / 0.5008 GB, free: 58.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.5997, allocations: 2.136 MB / 0.5028 GB, free: 56.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001911/0.6016, allocations: 0.7795 MB / 0.5036 GB, free: 55.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.6029, allocations: 0.8879 MB / 0.5045 GB, free: 54.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6029, allocations: 0 / 0.5045 GB, free: 54.71 MB / 378.7 MB Notification: Performance of Templates: time 0.1855/0.7884, allocations: 70.55 MB / 0.5734 GB, free: 99.5 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.327428518794477]