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.00103/0.00103, allocations: 84.98 kB / 22.99 MB, free: 1.504 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.001134/0.001134, allocations: 175 kB / 26.39 MB, free: 7.754 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.928/0.928, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.232e-06/1.232e-06, allocations: 0 / 252.3 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.714e-05, allocations: 6.25 kB / 252.3 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01159/0.01161, allocations: 15.09 MB / 267.4 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008176/0.01978, allocations: 5.054 MB / 272.4 MB, free: 3.016 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001123/0.0209, allocations: 139.2 kB / 272.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004583/0.02549, allocations: 4.703 MB / 277.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.02916, allocations: 2.736 MB / 280 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.03056, allocations: 1.298 MB / 281.3 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007088/0.03765, allocations: 8.489 MB / 289.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004723/0.04237, allocations: 5.259 MB / 295 MB, free: 12.26 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006607/0.04898, allocations: 4.924 MB / 300 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005103/0.05408, allocations: 3.679 MB / 303.6 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001238/0.05532, allocations: 0.5117 MB / 304.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.05793, allocations: 1.459 MB / 305.6 MB, free: 1.664 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002806/0.06074, allocations: 3.218 MB / 308.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002532/0.06327, allocations: 2.021 MB / 310.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008236/0.0715, allocations: 6.839 MB / 317.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.07151, allocations: 0 / 317.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.07151, allocations: 0 / 317.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001629/0.07167, allocations: 0 / 317.7 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.01201/0.08368, allocations: 7.813 MB / 325.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.08372, allocations: 11.98 kB / 325.5 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008615/0.09233, allocations: 2.673 MB / 328.2 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004086/0.09642, allocations: 3.602 MB / 331.8 MB, free: 7.266 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.0966, allocations: 341.1 kB / 332.1 MB, free: 6.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005229/0.09712, allocations: 468 kB / 332.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009034/0.1062, allocations: 7.763 MB / 340.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001473/0.1063, allocations: 79.38 kB / 340.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003891/0.1067, allocations: 207.8 kB / 340.6 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001855/0.1085, allocations: 2.317 MB / 342.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006516/0.1151, allocations: 3.583 MB / 346.5 MB, free: 7.203 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1941/0.3092, allocations: 58.74 MB / 405.2 MB, free: 28.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009039/0.3182, allocations: 2.77 MB / 408 MB, free: 28.31 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3196, allocations: 0.7959 MB / 408.8 MB, free: 28.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.3303, allocations: 6.734 MB / 415.5 MB, free: 25.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.3303, allocations: 66.66 kB / 415.6 MB, free: 25.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=237): time 6.703e-06/0.3303, allocations: 0 / 415.6 MB, free: 25.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=349): time 0.1063/0.4366, allocations: 32.49 MB / 448.1 MB, free: 11.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.4368, allocations: 243.8 kB / 448.3 MB, free: 10.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005672/0.4424, allocations: 4.874 MB / 453.2 MB, free: 7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008459/0.4433, allocations: 81.69 kB / 453.3 MB, free: 6.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002857/0.4461, allocations: 4.641 MB / 457.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001804/0.4479, allocations: 1.404 MB / 459.3 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002446/0.4504, allocations: 1.882 MB / 461.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4505, allocations: 476.8 kB / 461.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/0.453, allocations: 1.676 MB / 463.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006589/0.4596, allocations: 8.676 MB / 472 MB, free: 2.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01031/0.4699, allocations: 11.01 MB / 483.1 MB, free: 4.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001619/0.4701, allocations: 44 kB / 483.1 MB, free: 4.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=1135) (initialization): time 0.03729/0.5074, allocations: 12.15 MB / 495.3 MB, free: 9.117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-05/0.5075, allocations: 76 kB / 495.3 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001175/0.5076, allocations: 160 kB / 495.5 MB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1865/0.6941, allocations: 9.73 MB / 0.4934 GB, free: 117.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004845/0.6989, allocations: 1.683 MB / 0.495 GB, free: 117.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03996/0.7389, allocations: 21.47 MB / 0.516 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007213/0.7461, allocations: 359.6 kB / 0.5163 GB, free: 110.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/0.7475, allocations: 420.8 kB / 0.5167 GB, free: 110.8 MB / 394.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.002896/0.7504, allocations: 0.8246 MB / 0.5175 GB, free: 110.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0016/0.752, allocations: 0.6084 MB / 0.5181 GB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02855/0.7806, allocations: 7.98 MB / 0.5259 GB, free: 109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.357e-05/0.7806, allocations: 41.81 kB / 0.526 GB, free: 109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.203e-05/0.7807, allocations: 25.84 kB / 0.526 GB, free: 109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.39e-05/0.7808, allocations: 20.83 kB / 0.526 GB, free: 109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0476/0.8284, allocations: 24.58 MB / 0.55 GB, free: 84.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.951e-05/0.8284, allocations: 8 kB / 0.55 GB, free: 84.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.8293, allocations: 294.8 kB / 0.5503 GB, free: 84.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01871/0.848, allocations: 9.159 MB / 0.5592 GB, free: 75.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000752/0.8488, allocations: 71.05 kB / 0.5593 GB, free: 75.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02988/0.8787, allocations: 18.05 MB / 0.5769 GB, free: 57.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.8787, allocations: 16.19 kB / 0.5769 GB, free: 57.11 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03139/0.9101, allocations: 9.882 MB / 0.5866 GB, free: 47.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00298/0.913, allocations: 1.207 MB / 0.5878 GB, free: 45.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/0.9142, allocations: 78.41 kB / 0.5879 GB, free: 45.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/0.9165, allocations: 76.02 kB / 0.5879 GB, free: 45.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001145/0.9177, allocations: 309.5 kB / 0.5882 GB, free: 45.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/0.9179, allocations: 79.98 kB / 0.5883 GB, free: 45.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002406/0.9203, allocations: 2.049 MB / 0.5903 GB, free: 43.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9203, allocations: 0 / 0.5903 GB, free: 43.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009438/0.9297, allocations: 2.5 MB / 0.5927 GB, free: 41.11 MB / 394.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.0008794/0.9306, allocations: 243 kB / 0.593 GB, free: 40.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01357/0.9442, allocations: 7.836 MB / 0.6006 GB, free: 33.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.9442, allocations: 0 / 0.6006 GB, free: 33.59 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007828/0.952, allocations: 4.146 MB / 0.6047 GB, free: 29.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/0.9568, allocations: 0.6777 MB / 0.6053 GB, free: 28.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/0.9796, allocations: 13.76 MB / 0.6188 GB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003527/0.9831, allocations: 1.962 MB / 0.6207 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002225/0.9853, allocations: 0.6634 MB / 0.6213 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.9864, allocations: 0.7948 MB / 0.6221 GB, free: 11.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.314e-06/0.9864, allocations: 0 / 0.6221 GB, free: 11.48 MB / 394.7 MB Notification: Performance of Templates: time 0.2889/1.275, allocations: 144.4 MB / 0.7631 GB, free: 4.199 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.655030888970941]