Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008089/0.0008089, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003104/0.003104, allocations: 164.1 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8479/0.8479, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.822e-05, allocations: 6.281 kB / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.008391/0.008409, allocations: 11.78 MB / 337.6 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006713/0.01512, allocations: 4.654 MB / 342.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.01621, allocations: 103.5 kB / 342.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003829/0.02004, allocations: 4.272 MB / 346.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003013/0.02305, allocations: 2.243 MB / 348.9 MB, free: 8.277 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.02456, allocations: 1.208 MB / 350.1 MB, free: 7.066 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004582/0.02914, allocations: 6.806 MB / 356.9 MB, free: 256 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.03233, allocations: 4.568 MB / 361.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.03511, allocations: 3.29 MB / 364.8 MB, free: 8.316 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00304/0.03815, allocations: 3.098 MB / 367.9 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005488/0.0387, allocations: 0.5039 MB / 368.4 MB, free: 4.707 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.04032, allocations: 1.58 MB / 369.9 MB, free: 3.125 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.04173, allocations: 2.762 MB / 372.7 MB, free: 364 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.04343, allocations: 1.745 MB / 374.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006686/0.05012, allocations: 9.706 MB / 384.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.05012, allocations: 0 / 384.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.506e-06/0.05013, allocations: 4 kB / 384.2 MB, free: 4.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.05025, allocations: 0 / 384.2 MB, free: 4.863 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.007507/0.05776, allocations: 6.154 MB / 390.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.0578, allocations: 8.031 kB / 390.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005516/0.06332, allocations: 2.657 MB / 393 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/0.06807, allocations: 3.682 MB / 396.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.06821, allocations: 304.3 kB / 397 MB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005072/0.06872, allocations: 436.4 kB / 397.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01281/0.08153, allocations: 12.5 MB / 409.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001027/0.08163, allocations: 55.62 kB / 409.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000331/0.08196, allocations: 191.8 kB / 410.1 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001714/0.08368, allocations: 2.027 MB / 412.2 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.09613, allocations: 10.58 MB / 422.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1943/0.2904, allocations: 40.97 MB / 463.7 MB, free: 84.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00679/0.2972, allocations: 4.407 MB / 468.1 MB, free: 84.86 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.2986, allocations: 1.883 MB / 470 MB, free: 84.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005624/0.3043, allocations: 5.924 MB / 475.9 MB, free: 81.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.3043, allocations: 58.75 kB / 476 MB, free: 81.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 3.867e-06/0.3043, allocations: 0 / 476 MB, free: 81.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.03261/0.3369, allocations: 20.48 MB / 496.5 MB, free: 64.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.388e-05/0.337, allocations: 201.9 kB / 496.7 MB, free: 64.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.3403, allocations: 4.462 MB / 0.4894 GB, free: 59.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.873e-05/0.3404, allocations: 61.55 kB / 0.4894 GB, free: 59.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009098/0.3413, allocations: 3.638 MB / 0.493 GB, free: 56.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.3417, allocations: 0.8664 MB / 0.4938 GB, free: 55.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008989/0.3426, allocations: 1.326 MB / 0.4951 GB, free: 54.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.74e-05/0.3426, allocations: 317 kB / 0.4954 GB, free: 53.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.3445, allocations: 2.367 MB / 0.4977 GB, free: 51.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.3477, allocations: 6.218 MB / 0.5038 GB, free: 43.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005467/0.3531, allocations: 9.161 MB / 0.5128 GB, free: 32.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.98e-05/0.3532, allocations: 40 kB / 0.5128 GB, free: 32.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.008754/0.3619, allocations: 9.527 MB / 0.5221 GB, free: 22.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.362, allocations: 64 kB / 0.5222 GB, free: 22.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-05/0.3621, allocations: 132 kB / 0.5223 GB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00207/0.3642, allocations: 1.371 MB / 0.5236 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/0.3663, allocations: 1.479 MB / 0.5251 GB, free: 19.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006579/0.3729, allocations: 8.271 MB / 0.5331 GB, free: 11.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/0.3765, allocations: 417.6 kB / 0.5335 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003583/0.3769, allocations: 387.8 kB / 0.5339 GB, free: 10.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (804): * Single equations (assignments): 800 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002704/0.3796, allocations: 2.485 MB / 0.5363 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000373/0.3799, allocations: 385.4 kB / 0.5367 GB, free: 7.836 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.3841, allocations: 4.076 MB / 0.5407 GB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.3842, allocations: 27.94 kB / 0.5407 GB, free: 3.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3842, allocations: 12 kB / 0.5407 GB, free: 3.703 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.3842, allocations: 11.95 kB / 0.5407 GB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.3946, allocations: 8.733 MB / 0.5493 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.3946, allocations: 8 kB / 0.5493 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.3953, allocations: 327.5 kB / 0.5496 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/0.3974, allocations: 1.161 MB / 0.5507 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001235/0.3975, allocations: 40 kB / 0.5508 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006765/0.4042, allocations: 6.976 MB / 0.5576 GB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4042, allocations: 12.06 kB / 0.5576 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007974/0.4122, allocations: 6.876 MB / 0.5643 GB, free: 11.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008736/0.4131, allocations: 401.2 kB / 0.5647 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.4134, allocations: 36 kB / 0.5647 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009856/0.4144, allocations: 167.8 kB / 0.5649 GB, free: 10.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.4146, allocations: 152.9 kB / 0.565 GB, free: 10.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.693e-05/0.4147, allocations: 63.98 kB / 0.5651 GB, free: 10.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003045/0.4177, allocations: 2.644 MB / 0.5677 GB, free: 7.848 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4177, allocations: 0 / 0.5677 GB, free: 7.848 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00424/0.422, allocations: 1.316 MB / 0.5689 GB, free: 6.535 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005249/0.4225, allocations: 257.7 kB / 0.5692 GB, free: 6.277 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005823/0.4283, allocations: 5.521 MB / 0.5746 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.4283, allocations: 0 / 0.5746 GB, free: 0.7734 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.4301, allocations: 1.759 MB / 0.5763 GB, free: 15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.4317, allocations: 494.9 kB / 0.5768 GB, free: 14.53 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.445, allocations: 11.72 MB / 0.5882 GB, free: 2.691 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002914/0.4479, allocations: 3.312 MB / 0.5915 GB, free: 15.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008155/0.4488, allocations: 308.5 kB / 0.5917 GB, free: 15.03 MB / 474.7 MB Notification: Performance of SimCode: time 2.274e-06/0.4488, allocations: 0 / 0.5917 GB, free: 15.03 MB / 474.7 MB Notification: Performance of Templates: time 0.2179/0.6667, allocations: 92.13 MB / 0.6817 GB, free: 127.8 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 9.078837032429874]