Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.001787/0.001787, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001655/0.001655, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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.431/1.431, allocations: 230.3 MB / 258 MB, free: 8.238 MB / 206.1 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.Fourbar1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.89 kB / 378.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.278, allocations: 53.36 MB / 432.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01956/0.2976, allocations: 15.96 MB / 448.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.3096, allocations: 5.177 MB / 453.3 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/0.312, allocations: 135.2 kB / 453.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008863/0.3209, allocations: 4.501 MB / 457.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007874/0.3288, allocations: 2.575 MB / 460.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003183/0.332, allocations: 1.158 MB / 461.6 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01257/0.3445, allocations: 8.12 MB / 469.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00643/0.351, allocations: 3.953 MB / 473.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004624/0.3556, allocations: 2.508 MB / 476.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006044/0.3616, allocations: 3.618 MB / 479.8 MB, free: 7.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001843/0.3635, allocations: 0.5039 MB / 480.3 MB, free: 6.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.3675, allocations: 1.529 MB / 481.9 MB, free: 5.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004433/0.3719, allocations: 3.031 MB / 484.9 MB, free: 2.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005968/0.3779, allocations: 3.329 MB / 488.2 MB, free: 14.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0142/0.3921, allocations: 10.34 MB / 498.6 MB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3921, allocations: 0 / 498.6 MB, free: 4.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3921, allocations: 3.938 kB / 498.6 MB, free: 4.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002476/0.3923, allocations: 0 / 498.6 MB, free: 4.328 MB / 398.1 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.01929/0.4116, allocations: 7.746 MB / 0.4944 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4117, allocations: 12.03 kB / 0.4945 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01593/0.4276, allocations: 3.339 MB / 0.4977 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.4393, allocations: 4.677 MB / 0.5023 GB, free: 4.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.4396, allocations: 341.1 kB / 0.5026 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.4415, allocations: 471.6 kB / 0.5031 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/0.4705, allocations: 14.56 MB / 0.5173 GB, free: 4.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002293/0.4707, allocations: 67.52 kB / 0.5173 GB, free: 4.027 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009524/0.4717, allocations: 223.8 kB / 0.5176 GB, free: 3.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006132/0.4778, allocations: 2.832 MB / 0.5203 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0279/0.5057, allocations: 13.21 MB / 0.5332 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2504/0.7561, allocations: 58.23 MB / 0.5901 GB, free: 51.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01553/0.7716, allocations: 6.948 MB / 0.5969 GB, free: 44.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004507/0.7761, allocations: 4.591 MB / 0.6014 GB, free: 39.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01562/0.7917, allocations: 12.41 MB / 0.6135 GB, free: 27.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.7918, allocations: 72.64 kB / 0.6136 GB, free: 27.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 4.789e-06/0.7918, allocations: 0 / 0.6136 GB, free: 27.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.175/2.967, allocations: 411.4 MB / 1.015 GB, free: 148.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/2.967, allocations: 261.7 kB / 1.016 GB, free: 147.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007693/2.975, allocations: 5.456 MB / 1.021 GB, free: 142.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002112/2.977, allocations: 109.7 kB / 1.021 GB, free: 142.6 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/2.979, allocations: 4.088 MB / 1.025 GB, free: 139.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002668/2.982, allocations: 2.105 MB / 1.027 GB, free: 137.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004567/2.986, allocations: 2.183 MB / 1.029 GB, free: 135.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.174e-05/2.986, allocations: 301.1 kB / 1.029 GB, free: 135.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01273/2.999, allocations: 11.06 MB / 1.04 GB, free: 124 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01453/3.014, allocations: 15.25 MB / 1.055 GB, free: 106.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0289/3.042, allocations: 27.44 MB / 1.082 GB, free: 77.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/3.043, allocations: 40 kB / 1.082 GB, free: 77.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5819/3.624, allocations: 140.8 MB / 1.22 GB, free: 134.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.793e-05/3.625, allocations: 64 kB / 1.22 GB, free: 134.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/3.625, allocations: 143.6 kB / 1.22 GB, free: 134.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07787/3.703, allocations: 34.7 MB / 1.254 GB, free: 100.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004744/3.707, allocations: 1.568 MB / 1.255 GB, free: 98.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4584/4.166, allocations: 203.3 MB / 1.454 GB, free: 99.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01411/4.18, allocations: 1.73 MB / 1.455 GB, free: 98.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002663/4.182, allocations: 0.5388 MB / 1.456 GB, free: 98.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * 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 (840): * Single equations (assignments): 833 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,164,40.5%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.007598/4.19, allocations: 3.089 MB / 1.459 GB, free: 95.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002489/4.193, allocations: 0.6024 MB / 1.459 GB, free: 95.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5195/4.712, allocations: 136.4 MB / 1.593 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.882e-05/4.712, allocations: 54.28 kB / 1.593 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001486/4.712, allocations: 59.06 kB / 1.593 GB, free: 154.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001208/4.712, allocations: 35.73 kB / 1.593 GB, free: 154.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6154/5.328, allocations: 205.6 MB / 1.794 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-05/5.328, allocations: 6.438 kB / 1.794 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/5.329, allocations: 332.8 kB / 1.794 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07294/5.402, allocations: 33.43 MB / 1.827 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001611/5.404, allocations: 100 kB / 1.827 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4566/5.861, allocations: 185.9 MB / 2.008 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/5.861, allocations: 7.688 kB / 2.008 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3592/6.22, allocations: 152.3 MB / 2.157 GB, free: 28.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/6.222, allocations: 0.5883 MB / 2.158 GB, free: 28.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003414/6.226, allocations: 95.88 kB / 2.158 GB, free: 27.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01002/6.236, allocations: 1.489 MB / 2.159 GB, free: 26.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004121/6.24, allocations: 0.5208 MB / 2.16 GB, free: 25.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001128/6.241, allocations: 144 kB / 2.16 GB, free: 25.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004358/6.245, allocations: 3.46 MB / 2.163 GB, free: 22.37 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/6.245, allocations: 0 / 2.163 GB, free: 22.37 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0123/6.257, allocations: 3.847 MB / 2.167 GB, free: 18.54 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/6.259, allocations: 245.8 kB / 2.167 GB, free: 18.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2797/6.539, allocations: 32.74 MB / 2.199 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/6.539, allocations: 3.938 kB / 2.199 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0375/6.576, allocations: 19.6 MB / 2.218 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/6.582, allocations: 0.7809 MB / 2.219 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/6.621, allocations: 27.47 MB / 2.246 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006864/6.628, allocations: 5.091 MB / 2.251 GB, free: 143.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004328/6.632, allocations: 2.06 MB / 2.253 GB, free: 141.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008981/6.633, allocations: 311.4 kB / 2.253 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.342e-06/6.633, allocations: 0 / 2.253 GB, free: 141.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.5355/7.169, allocations: 285.7 MB / 2.532 GB, free: 42.82 MB / 0.5606 GB " [Timeout remaining time 653] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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: 16.765727950260043]