Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002355/0.002355, allocations: 188.8 kB / 22.92 MB, free: 5.48 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 207.6 MB / 233.5 MB, free: 10.99 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 55.36 kB / 345.4 MB, free: 10.55 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2771, allocations: 49.12 MB / 394.5 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01389/0.291, allocations: 16.1 MB / 410.6 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01308/0.3041, allocations: 5.199 MB / 415.8 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004573/0.3087, allocations: 112.3 kB / 415.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008853/0.3175, allocations: 4.507 MB / 420.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009272/0.3268, allocations: 2.629 MB / 423.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.3304, allocations: 1.17 MB / 424.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01388/0.3443, allocations: 7.492 MB / 431.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006317/0.3506, allocations: 3.973 MB / 435.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005655/0.3563, allocations: 2.504 MB / 438.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00652/0.3628, allocations: 3.637 MB / 441.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001844/0.3646, allocations: 0.5078 MB / 442.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003934/0.3686, allocations: 1.529 MB / 443.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003883/0.3724, allocations: 3.062 MB / 446.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004891/0.3773, allocations: 3.36 MB / 450.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01553/0.3929, allocations: 10.42 MB / 460.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3929, allocations: 0 / 460.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3929, allocations: 0 / 460.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005023/0.3934, allocations: 0 / 460.7 MB, free: 1.43 MB / 366.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.02276/0.4161, allocations: 7.825 MB / 468.6 MB, free: 9.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4162, allocations: 8.031 kB / 468.6 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01494/0.4311, allocations: 3.23 MB / 471.8 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01186/0.443, allocations: 5.003 MB / 476.8 MB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.4434, allocations: 345.1 kB / 477.1 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002173/0.4455, allocations: 471.6 kB / 477.6 MB, free: 388 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03702/0.4826, allocations: 14.55 MB / 492.1 MB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003196/0.4829, allocations: 75.41 kB / 492.2 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/0.4839, allocations: 215.8 kB / 492.4 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006071/0.49, allocations: 2.836 MB / 495.3 MB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03164/0.5217, allocations: 13.22 MB / 0.4966 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09237/0.614, allocations: 58.36 MB / 0.5536 GB, free: 4.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2628/0.8769, allocations: 7.385 MB / 0.5608 GB, free: 143.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007109/0.884, allocations: 4.542 MB / 0.5652 GB, free: 141.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02485/0.9088, allocations: 12.82 MB / 0.5777 GB, free: 136.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.229e-05/0.9089, allocations: 71.61 kB / 0.5778 GB, free: 136.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=326): time 7.023e-06/0.9089, allocations: 0 / 0.5778 GB, free: 136.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=572): time 2.099/3.008, allocations: 411.5 MB / 0.9797 GB, free: 141.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/3.008, allocations: 275.2 kB / 0.9799 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009126/3.018, allocations: 5.502 MB / 0.9853 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.002099/3.02, allocations: 113.7 kB / 0.9854 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002563/3.022, allocations: 4.081 MB / 0.9894 GB, free: 133.7 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002787/3.025, allocations: 2.113 MB / 0.9915 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003967/3.029, allocations: 2.185 MB / 0.9936 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/3.029, allocations: 305.8 kB / 0.9939 GB, free: 129.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01237/3.041, allocations: 11.06 MB / 1.005 GB, free: 118.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01497/3.056, allocations: 15.24 MB / 1.02 GB, free: 101 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03/3.086, allocations: 27.46 MB / 1.046 GB, free: 71.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001906/3.087, allocations: 40 kB / 1.046 GB, free: 71.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.5774/3.664, allocations: 140.7 MB / 1.184 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.553e-05/3.664, allocations: 64 kB / 1.184 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/3.664, allocations: 136 kB / 1.184 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07308/3.737, allocations: 34.69 MB / 1.218 GB, free: 81.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00485/3.742, allocations: 1.564 MB / 1.219 GB, free: 79.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4787/4.221, allocations: 203.6 MB / 1.418 GB, free: 84.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/4.235, allocations: 1.724 MB / 1.42 GB, free: 83.55 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003003/4.238, allocations: 0.536 MB / 1.421 GB, free: 83.07 MB / 0.5137 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.007654/4.245, allocations: 3.1 MB / 1.424 GB, free: 80.26 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002041/4.247, allocations: 0.6098 MB / 1.424 GB, free: 79.99 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5419/4.789, allocations: 136.3 MB / 1.557 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001272/4.789, allocations: 60.39 kB / 1.557 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002198/4.79, allocations: 57.59 kB / 1.557 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001481/4.79, allocations: 23.91 kB / 1.557 GB, free: 132.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.7128/5.503, allocations: 205.6 MB / 1.758 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.792e-05/5.503, allocations: 7.938 kB / 1.758 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/5.504, allocations: 334.4 kB / 1.759 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07045/5.575, allocations: 33.42 MB / 1.791 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001828/5.577, allocations: 111.2 kB / 1.791 GB, free: 123.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4678/6.044, allocations: 186.3 MB / 1.973 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/6.044, allocations: 11.84 kB / 1.973 GB, free: 128.6 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5454/6.59, allocations: 152.2 MB / 2.122 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006845/6.597, allocations: 3.037 MB / 2.125 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004127/6.601, allocations: 103.4 kB / 2.125 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0108/6.612, allocations: 1.487 MB / 2.126 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004898/6.616, allocations: 0.4891 MB / 2.127 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001357/6.618, allocations: 142.7 kB / 2.127 GB, free: 149 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004782/6.623, allocations: 3.499 MB / 2.13 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/6.623, allocations: 5.125 kB / 2.13 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01286/6.635, allocations: 3.866 MB / 2.134 GB, free: 148.5 MB / 0.5294 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.001535/6.637, allocations: 251.6 kB / 2.134 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0517/6.689, allocations: 32.74 MB / 2.166 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/6.689, allocations: 3 kB / 2.166 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.03867/6.727, allocations: 19.58 MB / 2.185 GB, free: 110.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007643/6.735, allocations: 0.784 MB / 2.186 GB, free: 109.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04012/6.775, allocations: 27.53 MB / 2.213 GB, free: 82.23 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00723/6.782, allocations: 5.112 MB / 2.218 GB, free: 77.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004508/6.787, allocations: 2.056 MB / 2.22 GB, free: 75.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009583/6.788, allocations: 311.9 kB / 2.22 GB, free: 74.84 MB / 0.5294 GB Notification: Performance of SimCode: time 1.462e-06/6.788, allocations: 3.938 kB / 2.22 GB, free: 74.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.7957/7.584, allocations: 282.1 MB / 2.496 GB, free: 105.8 MB / 0.5294 GB " [Timeout remaining time 652] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 17.00256477855146]