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.001449/0.001449, allocations: 84.25 kB / 20.68 MB, free: 1.039 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.001603/0.001603, allocations: 158.4 kB / 23.95 MB, free: 4.168 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.475/1.475, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.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 2.304e-06/2.304e-06, allocations: 0.9062 kB / 325 MB, free: 0.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.435e-05, allocations: 2.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01871/0.01874, allocations: 13.77 MB / 338.8 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.03228, allocations: 4.957 MB / 343.7 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003778/0.03606, allocations: 135.2 kB / 343.9 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.04655, allocations: 4.54 MB / 348.4 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.05659, allocations: 2.667 MB / 351.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.05988, allocations: 1.263 MB / 352.3 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01433/0.07421, allocations: 9.221 MB / 361.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008849/0.08305, allocations: 5.035 MB / 366.6 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/0.0935, allocations: 3.808 MB / 370.4 MB, free: 7.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007224/0.1007, allocations: 3.749 MB / 374.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002047/0.1028, allocations: 0.5195 MB / 374.7 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.1068, allocations: 1.455 MB / 376.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004663/0.1114, allocations: 3.175 MB / 379.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004915/0.1164, allocations: 2.006 MB / 381.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01773/0.1341, allocations: 10.51 MB / 391.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.1341, allocations: 0 / 391.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1341, allocations: 0 / 391.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0006697/0.1348, allocations: 0 / 391.8 MB, free: 2.012 MB / 350.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.02536/0.1601, allocations: 7.852 MB / 399.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.1602, allocations: 11.98 kB / 399.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.178, allocations: 3.46 MB / 403.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/0.1902, allocations: 4.653 MB / 407.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003862/0.1906, allocations: 345 kB / 408.1 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/0.1926, allocations: 464 kB / 408.6 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03364/0.2262, allocations: 14.66 MB / 423.2 MB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003844/0.2266, allocations: 67.48 kB / 423.3 MB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001921/0.2285, allocations: 215.8 kB / 423.5 MB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006498/0.235, allocations: 2.84 MB / 426.4 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03134/0.2663, allocations: 13.16 MB / 439.5 MB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2617/0.528, allocations: 54.41 MB / 493.9 MB, free: 90.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01737/0.5454, allocations: 7.093 MB / 0.4893 GB, free: 88.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004676/0.55, allocations: 4.595 MB / 0.4938 GB, free: 87.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01608/0.5661, allocations: 11.85 MB / 0.5053 GB, free: 82.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.5662, allocations: 68.3 kB / 0.5054 GB, free: 82.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=326): time 6.111e-06/0.5662, allocations: 0 / 0.5054 GB, free: 82.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=572): time 2.147/2.713, allocations: 413.9 MB / 0.9096 GB, free: 119.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/2.713, allocations: 265.7 kB / 0.9098 GB, free: 119.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00548/2.719, allocations: 5.226 MB / 0.9149 GB, free: 114.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001478/2.72, allocations: 109.7 kB / 0.915 GB, free: 114.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/2.722, allocations: 4.082 MB / 0.919 GB, free: 111.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/2.724, allocations: 2.071 MB / 0.9211 GB, free: 109.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003663/2.727, allocations: 2.164 MB / 0.9232 GB, free: 107.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.12e-05/2.727, allocations: 303.2 kB / 0.9235 GB, free: 106.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/2.739, allocations: 11.06 MB / 0.9343 GB, free: 95.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01315/2.752, allocations: 15.31 MB / 0.9492 GB, free: 78.58 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0276/2.78, allocations: 27.45 MB / 0.976 GB, free: 49.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.102e-05/2.78, allocations: 43.94 kB / 0.9761 GB, free: 49.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5264/3.306, allocations: 140.8 MB / 1.114 GB, free: 82.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/3.306, allocations: 64 kB / 1.114 GB, free: 82.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/3.306, allocations: 140 kB / 1.114 GB, free: 82.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08013/3.387, allocations: 34.69 MB / 1.148 GB, free: 48.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004612/3.391, allocations: 1.567 MB / 1.149 GB, free: 46.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4364/3.828, allocations: 201 MB / 1.345 GB, free: 22.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01405/3.842, allocations: 1.808 MB / 1.347 GB, free: 20.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002355/3.844, allocations: 0.5381 MB / 1.348 GB, free: 20.01 MB / 494.1 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.00617/3.85, allocations: 3.096 MB / 1.351 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001945/3.852, allocations: 0.5438 MB / 1.351 GB, free: 16.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.516/4.368, allocations: 136.3 MB / 1.484 GB, free: 57.63 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-05/4.368, allocations: 58.11 kB / 1.485 GB, free: 57.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000146/4.368, allocations: 60 kB / 1.485 GB, free: 57.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001133/4.368, allocations: 23.91 kB / 1.485 GB, free: 57.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5759/4.944, allocations: 201.8 MB / 1.682 GB, free: 39.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.493e-05/4.944, allocations: 7.906 kB / 1.682 GB, free: 39.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/4.946, allocations: 331.5 kB / 1.682 GB, free: 39.26 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2642/5.21, allocations: 33.42 MB / 1.715 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001385/5.211, allocations: 99 kB / 1.715 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.426/5.637, allocations: 183.8 MB / 1.894 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.837e-05/5.638, allocations: 11.95 kB / 1.894 GB, free: 137.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.351/5.989, allocations: 152.2 MB / 2.043 GB, free: 25.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/5.99, allocations: 0.5753 MB / 2.043 GB, free: 25.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002615/5.993, allocations: 104 kB / 2.044 GB, free: 25.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01033/6.003, allocations: 1.563 MB / 2.045 GB, free: 23.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004503/6.008, allocations: 0.5221 MB / 2.046 GB, free: 23.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001392/6.009, allocations: 140 kB / 2.046 GB, free: 23.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004373/6.013, allocations: 3.16 MB / 2.049 GB, free: 19.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/6.013, allocations: 0 / 2.049 GB, free: 19.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0131/6.026, allocations: 4.094 MB / 2.053 GB, free: 15.83 MB / 494.1 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.001907/6.028, allocations: 258.9 kB / 2.053 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2162/6.245, allocations: 32.74 MB / 2.085 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/6.245, allocations: 6.484 kB / 2.085 GB, free: 145.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.03765/6.282, allocations: 19.58 MB / 2.104 GB, free: 142.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005843/6.288, allocations: 0.6982 MB / 2.105 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03413/6.322, allocations: 27.32 MB / 2.131 GB, free: 117.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005055/6.327, allocations: 4.615 MB / 2.136 GB, free: 113.1 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003958/6.331, allocations: 1.994 MB / 2.138 GB, free: 111.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/6.332, allocations: 292.4 kB / 2.138 GB, free: 110.8 MB / 494.1 MB Notification: Performance of SimCode: time 9.21e-07/6.332, allocations: 0 / 2.138 GB, free: 110.8 MB / 494.1 MB Notification: Performance of Templates: time 0.6494/6.981, allocations: 282.6 MB / 2.414 GB, free: 148.5 MB / 0.4981 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.478033911436796]