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.002586/0.002586, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 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.001966/0.001966, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 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.589/1.589, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 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 2.094e-06/2.094e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.738e-05/3.947e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.02162/0.02166, allocations: 15.35 MB / 287.6 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1386/0.1603, allocations: 5.047 MB / 292.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003036/0.1633, allocations: 135.9 kB / 292.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009474/0.1728, allocations: 4.758 MB / 297.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006636/0.1794, allocations: 2.668 MB / 300.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.182, allocations: 1.294 MB / 301.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01018/0.1922, allocations: 9.207 MB / 310.7 MB, free: 8.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005435/0.1976, allocations: 5.218 MB / 315.9 MB, free: 4.367 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005623/0.2033, allocations: 3.816 MB / 319.7 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006364/0.2096, allocations: 3.831 MB / 323.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001427/0.211, allocations: 0.5195 MB / 324 MB, free: 12.71 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003536/0.2146, allocations: 1.46 MB / 325.5 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003978/0.2186, allocations: 3.197 MB / 328.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004268/0.2228, allocations: 2.008 MB / 330.7 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01649/0.2393, allocations: 10.54 MB / 341.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2393, allocations: 0 / 341.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2393, allocations: 0 / 341.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003344/0.2397, allocations: 0 / 341.3 MB, free: 12.01 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.02376/0.2634, allocations: 8.919 MB / 350.2 MB, free: 3.141 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.2635, allocations: 19.98 kB / 350.2 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01792/0.2814, allocations: 3.979 MB / 354.2 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/0.2939, allocations: 4.245 MB / 358.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/0.2943, allocations: 340.8 kB / 358.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.296, allocations: 467.3 kB / 359.2 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02562/0.3216, allocations: 9.433 MB / 368.6 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002388/0.3219, allocations: 67.41 kB / 368.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008107/0.3227, allocations: 214.6 kB / 368.9 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006341/0.329, allocations: 2.836 MB / 371.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02084/0.3499, allocations: 5.787 MB / 377.5 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2676/0.6174, allocations: 64.42 MB / 442 MB, free: 69.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/0.6322, allocations: 3.956 MB / 445.9 MB, free: 68.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/0.6352, allocations: 1.504 MB / 447.4 MB, free: 68.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/0.6517, allocations: 7.696 MB / 455.1 MB, free: 67.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.6517, allocations: 75.34 kB / 455.2 MB, free: 67.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=326): time 6.713e-06/0.6517, allocations: 0 / 455.2 MB, free: 67.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=572): time 0.7846/1.436, allocations: 200.3 MB / 0.6401 GB, free: 135.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.436, allocations: 266.8 kB / 0.6404 GB, free: 134.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007027/1.443, allocations: 5.632 MB / 0.6459 GB, free: 131.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001553/1.445, allocations: 109.1 kB / 0.646 GB, free: 131.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002194/1.447, allocations: 4.542 MB / 0.6504 GB, free: 128.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002656/1.45, allocations: 2.363 MB / 0.6527 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004541/1.454, allocations: 2.493 MB / 0.6552 GB, free: 124.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/1.454, allocations: 476.8 kB / 0.6556 GB, free: 124.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00752/1.462, allocations: 4.099 MB / 0.6596 GB, free: 120 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01034/1.472, allocations: 10.69 MB / 0.6701 GB, free: 106.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0206/1.493, allocations: 16.81 MB / 0.6865 GB, free: 87.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.493, allocations: 43.94 kB / 0.6865 GB, free: 87.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.4525/1.946, allocations: 113.5 MB / 0.7974 GB, free: 122.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-05/1.946, allocations: 64 kB / 0.7974 GB, free: 122.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/1.946, allocations: 137.2 kB / 0.7976 GB, free: 122.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1433/2.089, allocations: 57.57 MB / 0.8538 GB, free: 69.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004828/2.094, allocations: 1.565 MB / 0.8553 GB, free: 67.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3384/2.432, allocations: 66.7 MB / 0.9204 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/2.446, allocations: 1.809 MB / 0.9222 GB, free: 126.3 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002281/2.448, allocations: 0.54 MB / 0.9227 GB, free: 126.3 MB / 442.7 MB 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.004419/2.453, allocations: 0.9484 MB / 0.9237 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002624/2.455, allocations: 0.7162 MB / 0.9244 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3094/2.765, allocations: 110.2 MB / 1.032 GB, free: 42.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.911e-05/2.765, allocations: 59.75 kB / 1.032 GB, free: 42.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001502/2.765, allocations: 60 kB / 1.032 GB, free: 42.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001093/2.765, allocations: 39.48 kB / 1.032 GB, free: 42.62 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5442/3.309, allocations: 163.6 MB / 1.192 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.671e-05/3.309, allocations: 4.625 kB / 1.192 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/3.311, allocations: 334.3 kB / 1.192 GB, free: 42.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2997/3.611, allocations: 56.27 MB / 1.247 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00186/3.613, allocations: 96.02 kB / 1.247 GB, free: 131.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1554/3.768, allocations: 60.23 MB / 1.306 GB, free: 95.83 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/3.768, allocations: 7.188 kB / 1.306 GB, free: 95.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5272/4.295, allocations: 114.1 MB / 1.418 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/4.297, allocations: 0.5676 MB / 1.418 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002612/4.3, allocations: 99.89 kB / 1.418 GB, free: 119.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01026/4.31, allocations: 1.561 MB / 1.42 GB, free: 118.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003898/4.314, allocations: 0.5174 MB / 1.42 GB, free: 118.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001202/4.315, allocations: 138.8 kB / 1.42 GB, free: 118.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004573/4.32, allocations: 2.462 MB / 1.423 GB, free: 117.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/4.32, allocations: 0 / 1.423 GB, free: 117.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0127/4.332, allocations: 4.09 MB / 1.427 GB, free: 117.6 MB / 442.7 MB 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.001309/4.334, allocations: 258.5 kB / 1.427 GB, free: 117.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04525/4.379, allocations: 21.07 MB / 1.448 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/4.379, allocations: 2.594 kB / 1.448 GB, free: 100.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.03408/4.413, allocations: 14.44 MB / 1.462 GB, free: 88.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005577/4.418, allocations: 0.7336 MB / 1.462 GB, free: 87.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02832/4.447, allocations: 19.29 MB / 1.481 GB, free: 71.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005542/4.452, allocations: 4.177 MB / 1.485 GB, free: 67.07 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003863/4.456, allocations: 1.717 MB / 1.487 GB, free: 65.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009022/4.457, allocations: 288.4 kB / 1.487 GB, free: 65.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.473e-06/4.457, allocations: 0 / 1.487 GB, free: 65.1 MB / 442.7 MB Notification: Performance of Templates: time 0.5727/5.03, allocations: 293.3 MB / 1.774 GB, free: 68.88 MB / 442.7 MB " [Timeout remaining time 655] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 240] 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: 14.483652821974829]