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.001351/0.001351, allocations: 74.42 kB / 21.24 MB, free: 0.5352 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.001413/0.001413, allocations: 169.2 kB / 24.5 MB, free: 3.707 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.421/1.421, allocations: 177.1 MB / 204.7 MB, free: 8.98 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 0.001943/0.001943, allocations: 58.64 kB / 325.5 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09506/0.097, allocations: 53.39 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01716/0.1142, allocations: 13.75 MB / 392.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.1255, allocations: 4.949 MB / 397.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002415/0.1279, allocations: 139.2 kB / 397.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008299/0.1362, allocations: 4.303 MB / 402 MB, free: 8.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005962/0.1422, allocations: 2.602 MB / 404.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.1444, allocations: 1.155 MB / 405.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.1548, allocations: 8.116 MB / 413.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004943/0.1597, allocations: 4.259 MB / 418.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003326/0.163, allocations: 2.508 MB / 420.7 MB, free: 5.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004687/0.1677, allocations: 3.403 MB / 424.1 MB, free: 2.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.1687, allocations: 0.5039 MB / 424.6 MB, free: 1.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.1716, allocations: 1.397 MB / 426 MB, free: 192 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00318/0.1748, allocations: 3.027 MB / 429 MB, free: 13.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003408/0.1782, allocations: 2.501 MB / 431.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.1899, allocations: 10.39 MB / 441.9 MB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1899, allocations: 0 / 441.9 MB, free: 208 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1899, allocations: 4 kB / 441.9 MB, free: 204 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000237/0.1902, allocations: 0 / 441.9 MB, free: 204 kB / 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.0176/0.2078, allocations: 7.754 MB / 449.7 MB, free: 8.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2078, allocations: 15.98 kB / 449.7 MB, free: 8.348 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.2238, allocations: 3.456 MB / 453.1 MB, free: 4.883 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/0.2358, allocations: 4.685 MB / 457.8 MB, free: 116 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005168/0.2363, allocations: 337.1 kB / 458.2 MB, free: 15.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002631/0.2389, allocations: 479.5 kB / 458.6 MB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.236/0.4749, allocations: 14.65 MB / 473.3 MB, free: 77.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002857/0.4752, allocations: 71.89 kB / 473.3 MB, free: 77.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009341/0.4761, allocations: 215 kB / 473.5 MB, free: 77.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006375/0.4825, allocations: 2.834 MB / 476.4 MB, free: 77.78 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/0.5091, allocations: 13.17 MB / 489.6 MB, free: 74.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05385/0.5629, allocations: 54.07 MB / 0.5309 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01511/0.578, allocations: 7.108 MB / 0.5378 GB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00439/0.5824, allocations: 4.586 MB / 0.5423 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01588/0.5983, allocations: 11.5 MB / 0.5535 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.184e-05/0.5984, allocations: 64.7 kB / 0.5536 GB, free: 13.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 6.222e-06/0.5984, allocations: 0 / 0.5536 GB, free: 13.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.083/2.682, allocations: 413.7 MB / 0.9576 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/2.682, allocations: 264.5 kB / 0.9578 GB, free: 100 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007436/2.689, allocations: 4.967 MB / 0.9627 GB, free: 95.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001769/2.691, allocations: 112.4 kB / 0.9628 GB, free: 95.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/2.693, allocations: 4.12 MB / 0.9668 GB, free: 92.19 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002405/2.695, allocations: 2.103 MB / 0.9688 GB, free: 90.11 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003703/2.699, allocations: 2.191 MB / 0.971 GB, free: 87.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.264e-05/2.699, allocations: 305.1 kB / 0.9713 GB, free: 87.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0118/2.711, allocations: 11.06 MB / 0.9821 GB, free: 76.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0139/2.725, allocations: 15.32 MB / 0.997 GB, free: 59.24 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0282/2.753, allocations: 27.45 MB / 1.024 GB, free: 29.96 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001731/2.753, allocations: 40 kB / 1.024 GB, free: 29.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5483/3.302, allocations: 140.8 MB / 1.161 GB, free: 103.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.000157/3.302, allocations: 64 kB / 1.161 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002175/3.302, allocations: 141.2 kB / 1.162 GB, free: 103.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07576/3.378, allocations: 34.69 MB / 1.195 GB, free: 68.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004638/3.382, allocations: 1.566 MB / 1.197 GB, free: 67.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4529/3.835, allocations: 200.9 MB / 1.393 GB, free: 72.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/3.848, allocations: 1.717 MB / 1.395 GB, free: 70.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/3.851, allocations: 0.5349 MB / 1.395 GB, free: 70.15 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.006471/3.857, allocations: 3.099 MB / 1.398 GB, free: 67.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002125/3.859, allocations: 0.5478 MB / 1.399 GB, free: 66.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5384/4.398, allocations: 136.3 MB / 1.532 GB, free: 134.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-05/4.398, allocations: 56 kB / 1.532 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001873/4.398, allocations: 60 kB / 1.532 GB, free: 134.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001204/4.398, allocations: 23.91 kB / 1.532 GB, free: 134 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5762/4.974, allocations: 201.7 MB / 1.729 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.231e-05/4.975, allocations: 9.844 kB / 1.729 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/4.976, allocations: 331.5 kB / 1.729 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07042/5.046, allocations: 33.42 MB / 1.762 GB, free: 134.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001247/5.048, allocations: 100 kB / 1.762 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4276/5.475, allocations: 183.6 MB / 1.942 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/5.475, allocations: 13.17 kB / 1.942 GB, free: 154.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5496/6.025, allocations: 152.2 MB / 2.09 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/6.026, allocations: 0.5137 MB / 2.091 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001899/6.028, allocations: 97.38 kB / 2.091 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009847/6.038, allocations: 1.485 MB / 2.092 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003484/6.041, allocations: 0.5219 MB / 2.093 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007891/6.042, allocations: 145 kB / 2.093 GB, free: 159.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004318/6.047, allocations: 2.961 MB / 2.096 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/6.047, allocations: 0 / 2.096 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01199/6.059, allocations: 3.826 MB / 2.1 GB, free: 159.4 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.001149/6.06, allocations: 245.3 kB / 2.1 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.05063/6.11, allocations: 32.76 MB / 2.132 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/6.11, allocations: 0 / 2.132 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.03777/6.148, allocations: 19.6 MB / 2.151 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006737/6.155, allocations: 0.7081 MB / 2.152 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/6.188, allocations: 27.38 MB / 2.178 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004983/6.193, allocations: 4.603 MB / 2.183 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004065/6.197, allocations: 1.991 MB / 2.185 GB, free: 116.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/6.197, allocations: 286.5 kB / 2.185 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/6.197, allocations: 0 / 2.185 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.4881/6.685, allocations: 280 MB / 2.458 GB, free: 34 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins1/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: 15.675213755923323]