Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.001035/0.001035, allocations: 85.95 kB / 22.21 MB, free: 2.285 MB / 18.57 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.0009952/0.0009952, allocations: 163.5 kB / 25.6 MB, free: 8.086 MB / 18.57 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.973/0.973, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.446e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01162/0.01165, allocations: 15.09 MB / 266.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009311/0.02096, allocations: 5.046 MB / 271.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.02344, allocations: 147.2 kB / 271.8 MB, free: 2.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005037/0.02847, allocations: 4.707 MB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005984/0.03446, allocations: 2.733 MB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002221/0.03668, allocations: 1.298 MB / 280.5 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008548/0.04523, allocations: 8.505 MB / 289 MB, free: 1.586 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005528/0.05075, allocations: 5.247 MB / 294.2 MB, free: 12.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007765/0.05852, allocations: 4.92 MB / 299.2 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006974/0.06549, allocations: 3.69 MB / 302.9 MB, free: 3.625 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002187/0.06768, allocations: 0.5078 MB / 303.4 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.07153, allocations: 1.447 MB / 304.8 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.07534, allocations: 3.222 MB / 308 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004025/0.07936, allocations: 2.021 MB / 310 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007464/0.08683, allocations: 6.839 MB / 316.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.08683, allocations: 0 / 316.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.08684, allocations: 0 / 316.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003038/0.08714, allocations: 0 / 316.9 MB, free: 5.547 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: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.01223/0.09937, allocations: 7.817 MB / 324.7 MB, free: 13.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.09942, allocations: 15.98 kB / 324.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007238/0.1067, allocations: 2.673 MB / 327.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005919/0.1126, allocations: 3.606 MB / 331 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.1128, allocations: 333.1 kB / 331.3 MB, free: 6.926 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009356/0.1137, allocations: 468 kB / 331.8 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.1258, allocations: 7.77 MB / 339.6 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/0.126, allocations: 71.39 kB / 339.6 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004851/0.1265, allocations: 215.8 kB / 339.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001993/0.1285, allocations: 2.317 MB / 342.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008826/0.1373, allocations: 3.587 MB / 345.7 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1796/0.3169, allocations: 58.73 MB / 404.5 MB, free: 45.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007015/0.3239, allocations: 2.769 MB / 407.2 MB, free: 45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.3251, allocations: 0.7959 MB / 408 MB, free: 44.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008698/0.3338, allocations: 6.738 MB / 414.8 MB, free: 38.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.3338, allocations: 63.05 kB / 414.8 MB, free: 38.26 MB / 330.7 MB Notification: Performance of pre-optimization done (n=237): time 4.178e-06/0.3338, allocations: 0 / 414.8 MB, free: 38.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=349): time 0.09376/0.4276, allocations: 32.5 MB / 447.3 MB, free: 6.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.4277, allocations: 251.2 kB / 447.6 MB, free: 6.297 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005409/0.4331, allocations: 4.877 MB / 452.4 MB, free: 1.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008767/0.4339, allocations: 77.7 kB / 452.5 MB, free: 1.621 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002505/0.4364, allocations: 4.636 MB / 457.2 MB, free: 13.22 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001816/0.4383, allocations: 1.399 MB / 458.6 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002115/0.4404, allocations: 1.882 MB / 460.4 MB, free: 9.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.4405, allocations: 476.8 kB / 460.9 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002603/0.4431, allocations: 1.676 MB / 462.6 MB, free: 7.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006503/0.4496, allocations: 8.686 MB / 471.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.4604, allocations: 11.01 MB / 482.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001788/0.4606, allocations: 47.94 kB / 482.3 MB, free: 13.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=1135) (initialization): time 0.03622/0.4968, allocations: 12.14 MB / 494.5 MB, free: 1.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.941e-05/0.4969, allocations: 76 kB / 494.5 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002009/0.4971, allocations: 160 kB / 494.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1842/0.6813, allocations: 9.73 MB / 0.4926 GB, free: 117.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004125/0.6855, allocations: 1.689 MB / 0.4943 GB, free: 117.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04077/0.7262, allocations: 21.49 MB / 0.5152 GB, free: 106.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006975/0.7332, allocations: 355.3 kB / 0.5156 GB, free: 106.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001542/0.7348, allocations: 419 kB / 0.516 GB, free: 106.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 734 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[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 (934): * Single equations (assignments): 927 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(21,67,29.3%), (17,35,35.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,27)} Notification: Performance of prepare postOptimizeDAE: time 0.002649/0.7374, allocations: 0.828 MB / 0.5168 GB, free: 105.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/0.7389, allocations: 0.6099 MB / 0.5174 GB, free: 105.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02494/0.7638, allocations: 7.991 MB / 0.5252 GB, free: 98.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-05/0.7639, allocations: 35.94 kB / 0.5252 GB, free: 98.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.617e-05/0.7639, allocations: 28 kB / 0.5253 GB, free: 98.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-05/0.764, allocations: 19.92 kB / 0.5253 GB, free: 98.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04211/0.8061, allocations: 24.57 MB / 0.5493 GB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.951e-05/0.8062, allocations: 8.969 kB / 0.5493 GB, free: 72.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/0.8071, allocations: 292.9 kB / 0.5496 GB, free: 72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01856/0.8256, allocations: 9.167 MB / 0.5585 GB, free: 62.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009565/0.8266, allocations: 68 kB / 0.5586 GB, free: 62.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02797/0.8546, allocations: 18.06 MB / 0.5762 GB, free: 44.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/0.8546, allocations: 19.92 kB / 0.5762 GB, free: 44.56 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0287/0.8833, allocations: 9.867 MB / 0.5859 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/0.8862, allocations: 1.211 MB / 0.5871 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/0.8873, allocations: 71.98 kB / 0.5871 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0021/0.8894, allocations: 70.94 kB / 0.5872 GB, free: 33.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/0.8905, allocations: 319 kB / 0.5875 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/0.8907, allocations: 75.98 kB / 0.5876 GB, free: 32.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002495/0.8932, allocations: 2.053 MB / 0.5896 GB, free: 30.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8932, allocations: 0 / 0.5896 GB, free: 30.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008404/0.9016, allocations: 2.497 MB / 0.592 GB, free: 28.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (167): * Single equations (assignments): 160 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(21,60,29.3%), (17,33,35.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,27)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008136/0.9024, allocations: 242.2 kB / 0.5922 GB, free: 27.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01288/0.9153, allocations: 7.826 MB / 0.5999 GB, free: 20.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/0.9153, allocations: 4 kB / 0.5999 GB, free: 20.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007685/0.923, allocations: 4.15 MB / 0.6039 GB, free: 15.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.9266, allocations: 0.683 MB / 0.6046 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.9444, allocations: 13.75 MB / 0.618 GB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002631/0.947, allocations: 1.966 MB / 0.62 GB, free: 15.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002085/0.9491, allocations: 0.6673 MB / 0.6206 GB, free: 14.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1282/1.077, allocations: 0.7844 MB / 0.6214 GB, free: 122.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/1.077, allocations: 0 / 0.6214 GB, free: 122.1 MB / 394.7 MB Notification: Performance of Templates: time 0.1453/1.223, allocations: 141.3 MB / 0.7594 GB, free: 7.891 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.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: 6.001559345982969]