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.001311/0.001311, allocations: 106.1 kB / 19.8 MB, free: 2.5 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.001442/0.001442, allocations: 219.3 kB / 23 MB, free: 5.574 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.433/1.433, allocations: 230.2 MB / 256.2 MB, free: 8.527 MB / 206.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.001848/0.001848, allocations: 67.89 kB / 376.5 MB, free: 3.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2906, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.0194/0.31, allocations: 15.96 MB / 445.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01281/0.3228, allocations: 5.175 MB / 450.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.3258, allocations: 111.6 kB / 451 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008795/0.3346, allocations: 4.493 MB / 455.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008006/0.3426, allocations: 2.564 MB / 458.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.346, allocations: 1.162 MB / 459.3 MB, free: 9.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01314/0.3591, allocations: 8.098 MB / 467.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007654/0.3668, allocations: 3.948 MB / 471.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005776/0.3725, allocations: 2.48 MB / 473.8 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006863/0.3794, allocations: 3.61 MB / 477.4 MB, free: 7.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002361/0.3818, allocations: 0.5039 MB / 477.9 MB, free: 7.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005091/0.3869, allocations: 1.533 MB / 479.4 MB, free: 5.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005755/0.3926, allocations: 3.038 MB / 482.5 MB, free: 2.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008168/0.4008, allocations: 3.321 MB / 485.8 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01756/0.4183, allocations: 10.34 MB / 496.1 MB, free: 4.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4183, allocations: 0 / 496.1 MB, free: 4.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4183, allocations: 0 / 496.1 MB, free: 4.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004537/0.4188, allocations: 0 / 496.1 MB, free: 4.91 MB / 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.02584/0.4446, allocations: 7.833 MB / 0.4922 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.4447, allocations: 8.031 kB / 0.4922 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01622/0.4609, allocations: 3.339 MB / 0.4954 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/0.4749, allocations: 4.764 MB / 0.5001 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00047/0.4753, allocations: 337 kB / 0.5004 GB, free: 4.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.4776, allocations: 471.6 kB / 0.5008 GB, free: 3.988 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03441/0.5121, allocations: 14.56 MB / 0.5151 GB, free: 4.496 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003737/0.5124, allocations: 79.41 kB / 0.5151 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001902/0.5143, allocations: 211.8 kB / 0.5153 GB, free: 4.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006157/0.5205, allocations: 2.832 MB / 0.5181 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03203/0.5525, allocations: 13.22 MB / 0.531 GB, free: 4.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2732/0.8258, allocations: 58.34 MB / 0.588 GB, free: 52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01488/0.8406, allocations: 7.39 MB / 0.5952 GB, free: 44.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004251/0.8449, allocations: 4.545 MB / 0.5996 GB, free: 39.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/0.8594, allocations: 12.83 MB / 0.6122 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.8594, allocations: 65.39 kB / 0.6122 GB, free: 27.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 6.782e-06/0.8594, allocations: 0 / 0.6122 GB, free: 27.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 2.088/2.947, allocations: 411.6 MB / 1.014 GB, free: 147.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/2.947, allocations: 269.6 kB / 1.014 GB, free: 147.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006582/2.954, allocations: 5.453 MB / 1.02 GB, free: 142.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002532/2.956, allocations: 109.7 kB / 1.02 GB, free: 142 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002262/2.959, allocations: 4.08 MB / 1.024 GB, free: 139.1 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002202/2.961, allocations: 2.113 MB / 1.026 GB, free: 137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00368/2.964, allocations: 2.187 MB / 1.028 GB, free: 134.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.555e-05/2.964, allocations: 301.1 kB / 1.028 GB, free: 134.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01155/2.976, allocations: 11.06 MB / 1.039 GB, free: 123.4 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01506/2.991, allocations: 15.24 MB / 1.054 GB, free: 106.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02973/3.021, allocations: 27.45 MB / 1.081 GB, free: 77.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/3.021, allocations: 36 kB / 1.081 GB, free: 77 MB / 0.545 GB Notification: Performance of matching and sorting (n=1259) (initialization): time 0.576/3.597, allocations: 140.8 MB / 1.218 GB, free: 134 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.845e-05/3.597, allocations: 64 kB / 1.218 GB, free: 133.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/3.597, allocations: 140 kB / 1.219 GB, free: 133.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07491/3.672, allocations: 34.71 MB / 1.253 GB, free: 99.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004595/3.677, allocations: 1.56 MB / 1.254 GB, free: 98.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5127/4.189, allocations: 203.7 MB / 1.453 GB, free: 98.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01317/4.203, allocations: 1.723 MB / 1.455 GB, free: 97.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002563/4.205, allocations: 0.5321 MB / 1.455 GB, free: 96.96 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.006932/4.212, allocations: 3.095 MB / 1.458 GB, free: 94.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001917/4.214, allocations: 0.6073 MB / 1.459 GB, free: 94.15 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5209/4.735, allocations: 136.4 MB / 1.592 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.799e-05/4.735, allocations: 54.28 kB / 1.592 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001454/4.735, allocations: 60.91 kB / 1.592 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001184/4.735, allocations: 28.97 kB / 1.592 GB, free: 153.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5786/5.314, allocations: 205.7 MB / 1.793 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-05/5.314, allocations: 9.5 kB / 1.793 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/5.315, allocations: 328.5 kB / 1.793 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06943/5.385, allocations: 33.44 MB / 1.826 GB, free: 157.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001565/5.386, allocations: 99.98 kB / 1.826 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4613/5.848, allocations: 186.3 MB / 2.008 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/5.848, allocations: 11.69 kB / 2.008 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.306/6.154, allocations: 152.3 MB / 2.157 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/6.155, allocations: 0.6559 MB / 2.157 GB, free: 26.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002282/6.158, allocations: 103.7 kB / 2.157 GB, free: 26 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00829/6.166, allocations: 1.488 MB / 2.159 GB, free: 24.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003868/6.17, allocations: 0.4911 MB / 2.159 GB, free: 24.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008731/6.171, allocations: 140.6 kB / 2.16 GB, free: 23.89 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00419/6.175, allocations: 3.463 MB / 2.163 GB, free: 20.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/6.175, allocations: 0 / 2.163 GB, free: 20.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01102/6.186, allocations: 3.84 MB / 2.167 GB, free: 16.61 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.001096/6.187, allocations: 249.3 kB / 2.167 GB, free: 16.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2613/6.448, allocations: 32.75 MB / 2.199 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/6.448, allocations: 7.562 kB / 2.199 GB, free: 181.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.03673/6.485, allocations: 19.59 MB / 2.218 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/6.491, allocations: 0.7745 MB / 2.219 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03833/6.529, allocations: 27.47 MB / 2.246 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007096/6.536, allocations: 5.093 MB / 2.251 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004345/6.541, allocations: 2.055 MB / 2.253 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008124/6.542, allocations: 311.4 kB / 2.253 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.714e-06/6.542, allocations: 0 / 2.253 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.5362/7.078, allocations: 281.8 MB / 2.528 GB, free: 44.59 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 -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.239414158277214]