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.002/0.002, allocations: 122.5 kB / 18.5 MB, free: 4.52 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.002485/0.002485, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.539/1.539, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.001908/0.001908, allocations: 63.89 kB / 373.8 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1233, allocations: 53.32 MB / 427.2 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.2385/0.3618, allocations: 15.93 MB / 443.1 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.373, allocations: 5.151 MB / 448.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003907/0.3769, allocations: 113.2 kB / 448.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.3869, allocations: 4.486 MB / 452.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01033/0.3972, allocations: 2.563 MB / 455.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004428/0.4017, allocations: 1.15 MB / 456.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01608/0.4177, allocations: 8.111 MB / 464.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008139/0.4259, allocations: 4.534 MB / 469.2 MB, free: 4.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005486/0.4314, allocations: 2.461 MB / 471.6 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006594/0.438, allocations: 3.619 MB / 475.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00219/0.4402, allocations: 0.5078 MB / 475.8 MB, free: 72 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004905/0.4451, allocations: 1.533 MB / 477.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004913/0.45, allocations: 3.027 MB / 480.3 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006638/0.4566, allocations: 3.325 MB / 483.7 MB, free: 8.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01761/0.4742, allocations: 10.33 MB / 494 MB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.4742, allocations: 0 / 494 MB, free: 13.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4742, allocations: 4 kB / 494 MB, free: 13.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007067/0.4749, allocations: 0 / 494 MB, free: 13.77 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.02566/0.5006, allocations: 7.822 MB / 0.4901 GB, free: 5.855 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.5006, allocations: 16.02 kB / 0.4901 GB, free: 5.84 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.5168, allocations: 3.339 MB / 0.4933 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01143/0.5282, allocations: 4.764 MB / 0.498 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/0.5286, allocations: 337.2 kB / 0.4983 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/0.5304, allocations: 475.6 kB / 0.4988 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/0.5622, allocations: 14.56 MB / 0.513 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002572/0.5625, allocations: 71.47 kB / 0.5131 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009416/0.5634, allocations: 211.8 kB / 0.5133 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006015/0.5694, allocations: 2.836 MB / 0.516 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02984/0.5993, allocations: 13.22 MB / 0.5289 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08747/0.6867, allocations: 58.36 MB / 0.5859 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01948/0.7062, allocations: 7.388 MB / 0.5931 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006662/0.7129, allocations: 4.532 MB / 0.5976 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02391/0.7368, allocations: 12.82 MB / 0.6101 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.868e-05/0.7369, allocations: 69.67 kB / 0.6102 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=326): time 7.263e-06/0.7369, allocations: 0 / 0.6102 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=572): time 2.376/3.113, allocations: 411.6 MB / 1.012 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/3.113, allocations: 266.7 kB / 1.012 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00842/3.122, allocations: 5.451 MB / 1.018 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001795/3.124, allocations: 112.4 kB / 1.018 GB, free: 159.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003124/3.127, allocations: 4.088 MB / 1.022 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00346/3.13, allocations: 2.103 MB / 1.024 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00581/3.136, allocations: 2.187 MB / 1.026 GB, free: 155.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/3.136, allocations: 302.1 kB / 1.026 GB, free: 155.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01834/3.154, allocations: 11.07 MB / 1.037 GB, free: 150.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01993/3.174, allocations: 15.24 MB / 1.052 GB, free: 141.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03286/3.207, allocations: 27.45 MB / 1.079 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001473/3.207, allocations: 46.75 kB / 1.079 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5886/3.796, allocations: 140.8 MB / 1.216 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001447/3.796, allocations: 65.02 kB / 1.216 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002598/3.796, allocations: 142.7 kB / 1.217 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08799/3.884, allocations: 34.69 MB / 1.25 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00523/3.889, allocations: 1.572 MB / 1.252 GB, free: 135.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4729/4.362, allocations: 203.7 MB / 1.451 GB, free: 138.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01435/4.377, allocations: 1.729 MB / 1.453 GB, free: 138.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002832/4.379, allocations: 0.5356 MB / 1.453 GB, free: 138.3 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.007694/4.387, allocations: 3.094 MB / 1.456 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002093/4.389, allocations: 0.6044 MB / 1.457 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3046/4.694, allocations: 136.4 MB / 1.59 GB, free: 29.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.336e-05/4.694, allocations: 60.94 kB / 1.59 GB, free: 29.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001688/4.694, allocations: 56 kB / 1.59 GB, free: 29.31 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001207/4.694, allocations: 31.84 kB / 1.59 GB, free: 29.28 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5813/5.276, allocations: 205.7 MB / 1.791 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.54e-05/5.276, allocations: 11.91 kB / 1.791 GB, free: 54.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/5.277, allocations: 335.4 kB / 1.791 GB, free: 54.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07213/5.349, allocations: 33.43 MB / 1.824 GB, free: 20.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002262/5.351, allocations: 100.5 kB / 1.824 GB, free: 20.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4696/5.821, allocations: 186.3 MB / 2.006 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/5.821, allocations: 6.281 kB / 2.006 GB, free: 59.39 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5502/6.371, allocations: 152.3 MB / 2.155 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/6.373, allocations: 0.6564 MB / 2.155 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002901/6.376, allocations: 104 kB / 2.155 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009899/6.386, allocations: 1.487 MB / 2.157 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004388/6.39, allocations: 0.4902 MB / 2.157 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001247/6.392, allocations: 141.2 kB / 2.157 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005251/6.397, allocations: 3.463 MB / 2.161 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/6.397, allocations: 0 / 2.161 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01354/6.41, allocations: 3.846 MB / 2.165 GB, free: 103.8 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.001745/6.412, allocations: 241.8 kB / 2.165 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0531/6.465, allocations: 32.75 MB / 2.197 GB, free: 71.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/6.465, allocations: 4 kB / 2.197 GB, free: 71.02 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0364/6.502, allocations: 19.58 MB / 2.216 GB, free: 51.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007062/6.509, allocations: 0.7874 MB / 2.217 GB, free: 50.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03954/6.548, allocations: 27.32 MB / 2.243 GB, free: 23.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006963/6.555, allocations: 5.097 MB / 2.248 GB, free: 18.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.236/6.791, allocations: 2.053 MB / 2.25 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/6.793, allocations: 303.4 kB / 2.251 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/6.793, allocations: 3.688 kB / 2.251 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.5903/7.383, allocations: 278.5 MB / 2.523 GB, free: 153.6 MB / 0.5762 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.284520283341408]