Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.001212/0.001212, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001534/0.002746, allocations: 445.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.001073/0.001073, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009719/0.002045, allocations: 463.6 kB / 11.71 MB, free: 2.453 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 1.03/1.03, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1605/1.19, allocations: 49.48 MB / 220.5 MB, free: 1.457 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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.521e-05/2.725e-05, allocations: 9.406 kB / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01091/0.01094, allocations: 14.3 MB / 236.1 MB, free: 1.805 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008298/0.01924, allocations: 4.939 MB / 241.1 MB, free: 12.85 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001276/0.02051, allocations: 111.5 kB / 241.2 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003564/0.02408, allocations: 3.246 MB / 244.4 MB, free: 9.484 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004333/0.02841, allocations: 2.718 MB / 247.1 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.03027, allocations: 1.025 MB / 248.2 MB, free: 5.727 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006335/0.0366, allocations: 6.916 MB / 255.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.03948, allocations: 3.799 MB / 258.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003199/0.04268, allocations: 4.032 MB / 262.9 MB, free: 6.859 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002931/0.04561, allocations: 3.398 MB / 266.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006082/0.04622, allocations: 492 kB / 266.8 MB, free: 2.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002022/0.04824, allocations: 1.517 MB / 268.3 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001547/0.04978, allocations: 2.759 MB / 271.1 MB, free: 14.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.05101, allocations: 1.523 MB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004324/0.05534, allocations: 6.418 MB / 279 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.174e-05/0.05535, allocations: 0 / 279 MB, free: 6.719 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.05535, allocations: 4 kB / 279 MB, free: 6.715 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.194e-05/0.0554, allocations: 0 / 279 MB, free: 6.715 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.1528/0.2082, allocations: 7.892 MB / 286.9 MB, free: 30.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.254e-05/0.2083, allocations: 9.672 kB / 286.9 MB, free: 30.44 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007554/0.2158, allocations: 1.818 MB / 288.7 MB, free: 30.43 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006583/0.2224, allocations: 2.855 MB / 291.6 MB, free: 29.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003056/0.2227, allocations: 319.1 kB / 291.9 MB, free: 29.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001335/0.224, allocations: 432.7 kB / 292.3 MB, free: 29.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01474/0.2388, allocations: 7.322 MB / 299.6 MB, free: 27.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002294/0.239, allocations: 52.66 kB / 299.7 MB, free: 27.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004757/0.2395, allocations: 208.6 kB / 299.9 MB, free: 27.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002456/0.2419, allocations: 2.874 MB / 302.8 MB, free: 27.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009634/0.2516, allocations: 3.929 MB / 306.7 MB, free: 26.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04895/0.3005, allocations: 43.39 MB / 350.1 MB, free: 2.043 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006243/0.3068, allocations: 2.552 MB / 352.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.308, allocations: 0.7052 MB / 353.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.3194, allocations: 6.566 MB / 359.9 MB, free: 8.457 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.163e-05/0.3194, allocations: 67.17 kB / 360 MB, free: 8.387 MB / 314.7 MB Notification: Performance of pre-optimization done (n=269): time 6.352e-06/0.3194, allocations: 0 / 360 MB, free: 8.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=300): time 0.02514/0.3445, allocations: 9.187 MB / 369.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3446, allocations: 154.5 kB / 369.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005375/0.35, allocations: 4.381 MB / 373.7 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005837/0.3506, allocations: 61.7 kB / 373.8 MB, free: 11.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/0.3527, allocations: 4.347 MB / 378.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.354, allocations: 1.165 MB / 379.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.3557, allocations: 1.663 MB / 380.9 MB, free: 4.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.846e-05/0.3558, allocations: 309.1 kB / 381.2 MB, free: 4.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002099/0.3579, allocations: 1.252 MB / 382.5 MB, free: 3.332 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004709/0.3626, allocations: 6.266 MB / 388.8 MB, free: 10.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007753/0.3703, allocations: 8.207 MB / 397 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001885/0.3705, allocations: 52 kB / 397 MB, free: 468 kB / 346.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02064/0.3912, allocations: 6.433 MB / 403.4 MB, free: 9.977 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001735/0.3914, allocations: 91.88 kB / 403.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003001/0.3917, allocations: 180 kB / 403.7 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/0.3949, allocations: 0.8367 MB / 404.6 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007152/0.4021, allocations: 2.215 MB / 406.8 MB, free: 6.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/0.4068, allocations: 4.364 MB / 411.1 MB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/0.4127, allocations: 367.7 kB / 411.5 MB, free: 1.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001996/0.4147, allocations: 446.5 kB / 411.9 MB, free: 1.34 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1107): * Single equations (assignments): 1099 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005252/0.4199, allocations: 0.8308 MB / 412.8 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/0.4213, allocations: 323.6 kB / 413.1 MB, free: 184 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.4252, allocations: 2.107 MB / 415.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-05/0.4252, allocations: 54.06 kB / 415.2 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.4252, allocations: 4 kB / 415.2 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.4253, allocations: 11.95 kB / 415.2 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.4368, allocations: 6.358 MB / 421.6 MB, free: 7.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.4368, allocations: 8 kB / 421.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001771/0.4386, allocations: 0.6927 MB / 422.3 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/0.4403, allocations: 0.7135 MB / 423 MB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/0.4419, allocations: 0.571 MB / 423.6 MB, free: 5.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001849/0.4421, allocations: 51.98 kB / 423.6 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003394/0.4455, allocations: 3.444 MB / 427.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.4455, allocations: 8 kB / 427.1 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1621/0.6076, allocations: 3.081 MB / 430.2 MB, free: 117.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/0.609, allocations: 50.58 kB / 430.2 MB, free: 117.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/0.6102, allocations: 53.7 kB / 430.3 MB, free: 117.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004213/0.6106, allocations: 178.1 kB / 430.4 MB, free: 117.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/0.6108, allocations: 61.86 kB / 430.5 MB, free: 117.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003027/0.6138, allocations: 1.605 MB / 432.1 MB, free: 117.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6138, allocations: 0 / 432.1 MB, free: 117.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009293/0.6231, allocations: 1.595 MB / 433.7 MB, free: 117.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (j1.phi,j1.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 (236): * Single equations (assignments): 228 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008934/0.624, allocations: 215 kB / 433.9 MB, free: 117.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007038/0.631, allocations: 3.89 MB / 437.8 MB, free: 116.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003827/0.6314, allocations: 159.1 kB / 438 MB, free: 116.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001467/0.6329, allocations: 0.9594 MB / 438.9 MB, free: 116.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004459/0.6374, allocations: 1.213 MB / 440.1 MB, free: 116.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02125/0.6586, allocations: 11.63 MB / 451.8 MB, free: 112.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.6608, allocations: 1.828 MB / 453.6 MB, free: 111.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002656/0.6635, allocations: 0.7102 MB / 454.3 MB, free: 111.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/0.6648, allocations: 0.738 MB / 455 MB, free: 111.8 MB / 378.7 MB Notification: Performance of SimCode: time 3.476e-06/0.6648, allocations: 0 / 455 MB, free: 111.8 MB / 378.7 MB Notification: Performance of Templates: time 0.06796/0.7328, allocations: 52.18 MB / 0.4953 GB, free: 64.78 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.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.441079341806471]