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.0007978/0.0007978, allocations: 88.28 kB / 21.43 MB, free: 3.137 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.003429/0.003429, allocations: 153.6 kB / 24.7 MB, free: 9.422 MB / 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 0.8585/0.8585, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.634e-06/1.634e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.831e-05/2.995e-05, allocations: 3.266 kB / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01047/0.0105, allocations: 13.77 MB / 339.6 MB, free: 1.539 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00882/0.01932, allocations: 4.948 MB / 344.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.02189, allocations: 135.2 kB / 344.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004811/0.0267, allocations: 4.54 MB / 349.2 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00635/0.03305, allocations: 2.663 MB / 351.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.03566, allocations: 1.263 MB / 353.1 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008707/0.04437, allocations: 9.216 MB / 362.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/0.04988, allocations: 5.043 MB / 367.4 MB, free: 5.586 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006853/0.05673, allocations: 3.8 MB / 371.2 MB, free: 1.777 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004937/0.06167, allocations: 3.749 MB / 374.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.06297, allocations: 0.5195 MB / 375.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.06556, allocations: 1.459 MB / 376.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.0685, allocations: 3.175 MB / 380.1 MB, free: 8.855 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003361/0.07186, allocations: 2.006 MB / 382.1 MB, free: 6.844 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00988/0.08174, allocations: 10.51 MB / 392.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.08174, allocations: 0 / 392.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.08175, allocations: 0 / 392.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003452/0.08209, allocations: 0 / 392.6 MB, free: 12.3 MB / 362.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.01519/0.09728, allocations: 7.848 MB / 400.4 MB, free: 4.371 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.09733, allocations: 11.98 kB / 400.4 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008247/0.1056, allocations: 3.464 MB / 403.9 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007578/0.1132, allocations: 4.653 MB / 408.6 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.1134, allocations: 345.1 kB / 408.9 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001402/0.1148, allocations: 468 kB / 409.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01929/0.1341, allocations: 14.66 MB / 424 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002084/0.1343, allocations: 71.48 kB / 424.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006033/0.1349, allocations: 215.8 kB / 424.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003046/0.1379, allocations: 2.836 MB / 427.1 MB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01939/0.1573, allocations: 13.16 MB / 440.3 MB, free: 11.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.216/0.3733, allocations: 54.42 MB / 494.7 MB, free: 71.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.3838, allocations: 7.105 MB / 0.4901 GB, free: 66.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003934/0.3877, allocations: 4.592 MB / 0.4945 GB, free: 61.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/0.4017, allocations: 11.82 MB / 0.5061 GB, free: 49.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/0.4017, allocations: 71.91 kB / 0.5061 GB, free: 49.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=326): time 8.697e-06/0.4017, allocations: 1.594 kB / 0.5061 GB, free: 49.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=572): time 1.161/1.563, allocations: 413.9 MB / 0.9103 GB, free: 55.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/1.563, allocations: 269.6 kB / 0.9106 GB, free: 54.98 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005425/1.568, allocations: 5.229 MB / 0.9157 GB, free: 49.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001556/1.57, allocations: 113.7 kB / 0.9158 GB, free: 49.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/1.572, allocations: 4.089 MB / 0.9198 GB, free: 46.13 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002367/1.574, allocations: 2.063 MB / 0.9218 GB, free: 44.1 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003509/1.577, allocations: 2.164 MB / 0.9239 GB, free: 41.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.166e-05/1.577, allocations: 309 kB / 0.9242 GB, free: 41.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008967/1.586, allocations: 11.06 MB / 0.935 GB, free: 30.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01064/1.597, allocations: 15.31 MB / 0.95 GB, free: 13.26 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1796/1.777, allocations: 27.45 MB / 0.9768 GB, free: 136.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.893e-05/1.777, allocations: 37.22 kB / 0.9768 GB, free: 136.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.1789/1.956, allocations: 140.8 MB / 1.114 GB, free: 10.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/1.956, allocations: 69.12 kB / 1.114 GB, free: 9.957 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/1.956, allocations: 136 kB / 1.114 GB, free: 9.824 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2237/2.18, allocations: 34.68 MB / 1.148 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/2.183, allocations: 1.57 MB / 1.15 GB, free: 149.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3191/2.502, allocations: 201.1 MB / 1.346 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009037/2.511, allocations: 1.813 MB / 1.348 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001824/2.513, allocations: 0.5366 MB / 1.349 GB, free: 127.3 MB / 490.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.005597/2.518, allocations: 3.093 MB / 1.352 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/2.52, allocations: 0.5445 MB / 1.352 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3384/2.858, allocations: 136.3 MB / 1.485 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.04e-05/2.859, allocations: 57.97 kB / 1.485 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001444/2.859, allocations: 59.81 kB / 1.485 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001093/2.859, allocations: 27.33 kB / 1.485 GB, free: 141.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3752/3.234, allocations: 201.8 MB / 1.682 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.395e-05/3.234, allocations: 5.188 kB / 1.682 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/3.235, allocations: 329.5 kB / 1.683 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04063/3.276, allocations: 33.41 MB / 1.715 GB, free: 120.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001323/3.277, allocations: 106.4 kB / 1.715 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3035/3.58, allocations: 183.8 MB / 1.895 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/3.58, allocations: 12.44 kB / 1.895 GB, free: 112.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3672/3.948, allocations: 152.2 MB / 2.044 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/3.949, allocations: 0.5721 MB / 2.044 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002621/3.952, allocations: 98.02 kB / 2.044 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00691/3.959, allocations: 1.569 MB / 2.046 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004387/3.963, allocations: 0.5136 MB / 2.046 GB, free: 132.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001349/3.965, allocations: 153.5 kB / 2.046 GB, free: 132.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00463/3.969, allocations: 3.16 MB / 2.05 GB, free: 131.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.6e-07/3.969, allocations: 2.688 kB / 2.05 GB, free: 131.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01529/3.985, allocations: 4.092 MB / 2.054 GB, free: 130.2 MB / 490.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.001867/3.987, allocations: 248.9 kB / 2.054 GB, free: 130 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03807/4.025, allocations: 32.74 MB / 2.086 GB, free: 98.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/4.025, allocations: 0 / 2.086 GB, free: 98.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02473/4.049, allocations: 19.59 MB / 2.105 GB, free: 78.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/4.054, allocations: 0.7002 MB / 2.106 GB, free: 78.11 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0297/4.084, allocations: 27.92 MB / 2.133 GB, free: 50.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006331/4.09, allocations: 4.572 MB / 2.137 GB, free: 45.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/4.091, allocations: 335.5 kB / 2.138 GB, free: 45.26 MB / 490.7 MB Notification: Performance of SimCode: time 1.393e-06/4.091, allocations: 0 / 2.138 GB, free: 45.26 MB / 490.7 MB Notification: Performance of Templates: time 0.5165/4.608, allocations: 257.5 MB / 2.389 GB, free: 150.1 MB / 0.4948 GB " [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=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: 18.233819289132953]