Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.001023/0.001023, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001095/0.001095, allocations: 160.1 kB / 25.61 MB, free: 8.582 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.9678/0.9678, allocations: 177 MB / 205.9 MB, free: 4.457 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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 274.1 MB, free: 4.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.139e-05/3.338e-05, allocations: 4.609 kB / 274.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.0183/0.01833, allocations: 14.06 MB / 288.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.03, allocations: 4.713 MB / 292.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/0.03173, allocations: 107.5 kB / 293 MB, free: 1.344 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003353/0.03508, allocations: 3.336 MB / 296.3 MB, free: 14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.0395, allocations: 2.706 MB / 299 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.04086, allocations: 1.111 MB / 300.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00605/0.04691, allocations: 7.806 MB / 308 MB, free: 2.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003217/0.05013, allocations: 4.239 MB / 312.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00402/0.05415, allocations: 4.436 MB / 316.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.05717, allocations: 3.574 MB / 320.2 MB, free: 6.008 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004855/0.05765, allocations: 488 kB / 320.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001631/0.05929, allocations: 1.463 MB / 322.1 MB, free: 4.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002033/0.06132, allocations: 3.05 MB / 325.2 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001479/0.0628, allocations: 1.846 MB / 327 MB, free: 15.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008591/0.07139, allocations: 6.858 MB / 333.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.0714, allocations: 0 / 333.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.0714, allocations: 0 / 333.9 MB, free: 8.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002678/0.07167, allocations: 0 / 333.9 MB, free: 8.273 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01128/0.08295, allocations: 7.386 MB / 341.3 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.08298, allocations: 8.031 kB / 341.3 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1483/0.2312, allocations: 2.78 MB / 344.1 MB, free: 48.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005924/0.2372, allocations: 3.05 MB / 347.1 MB, free: 47.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.2374, allocations: 324 kB / 347.4 MB, free: 47.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.2388, allocations: 431.7 kB / 347.9 MB, free: 47.96 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/0.2507, allocations: 8.078 MB / 355.9 MB, free: 44.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/0.2508, allocations: 60.03 kB / 356 MB, free: 44.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004636/0.2513, allocations: 206.3 kB / 356.2 MB, free: 44.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/0.2537, allocations: 2.856 MB / 359.1 MB, free: 44.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009398/0.2631, allocations: 3.95 MB / 363 MB, free: 42.97 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04176/0.3048, allocations: 59.25 MB / 422.3 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006148/0.311, allocations: 2.578 MB / 424.8 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.3123, allocations: 0.8567 MB / 425.7 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.3225, allocations: 6.913 MB / 432.6 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.277e-05/0.3225, allocations: 64.81 kB / 432.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=269): time 6.503e-06/0.3225, allocations: 0 / 432.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=300): time 0.02663/0.3492, allocations: 10.31 MB / 443 MB, free: 12.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.3493, allocations: 212.6 kB / 443.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004644/0.3539, allocations: 4.828 MB / 448 MB, free: 8.359 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004409/0.3544, allocations: 65.7 kB / 448.1 MB, free: 8.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002478/0.3568, allocations: 4.863 MB / 452.9 MB, free: 3.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001555/0.3584, allocations: 1.221 MB / 454.2 MB, free: 2.496 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.3602, allocations: 1.947 MB / 456.1 MB, free: 0.7344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3603, allocations: 480.8 kB / 456.6 MB, free: 268 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/0.3621, allocations: 1.021 MB / 457.6 MB, free: 15.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005403/0.3675, allocations: 8.768 MB / 466.4 MB, free: 3.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008841/0.3763, allocations: 10.61 MB / 477 MB, free: 5.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001847/0.3765, allocations: 57.31 kB / 477 MB, free: 5.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.01412/0.3907, allocations: 7.569 MB / 484.6 MB, free: 13.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.487e-05/0.3907, allocations: 83.98 kB / 484.7 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/0.3909, allocations: 180 kB / 484.9 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002152/0.3931, allocations: 0.8363 MB / 485.7 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/0.3975, allocations: 1.973 MB / 487.7 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005189/0.4027, allocations: 5.551 MB / 493.2 MB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004827/0.4075, allocations: 369.2 kB / 493.6 MB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008217/0.4084, allocations: 455 kB / 494 MB, free: 4.344 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[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 (1107): * Single equations (assignments): 1099 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002098/0.4105, allocations: 0.8684 MB / 494.9 MB, free: 3.461 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009242/0.4114, allocations: 0.5496 MB / 495.4 MB, free: 2.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004042/0.4154, allocations: 2.419 MB / 497.9 MB, free: 488 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/0.4155, allocations: 55.86 kB / 497.9 MB, free: 432 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.4155, allocations: 8 kB / 497.9 MB, free: 424 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.4155, allocations: 11.95 kB / 497.9 MB, free: 412 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1679/0.5834, allocations: 7.112 MB / 0.4932 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.5834, allocations: 6 kB / 0.4932 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.5847, allocations: 409.4 kB / 0.4936 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.5864, allocations: 0.5637 MB / 0.4942 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/0.5866, allocations: 56.27 kB / 0.4942 GB, free: 116.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003043/0.5897, allocations: 4.596 MB / 0.4987 GB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5897, allocations: 11 kB / 0.4987 GB, free: 113.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005083/0.5947, allocations: 3.69 MB / 0.5023 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.5959, allocations: 451.8 kB / 0.5027 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/0.5964, allocations: 51.11 kB / 0.5028 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.5974, allocations: 49.25 kB / 0.5028 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.5977, allocations: 179.8 kB / 0.503 GB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.5978, allocations: 65.36 kB / 0.5031 GB, free: 112.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002017/0.5998, allocations: 1.9 MB / 0.5049 GB, free: 111.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5998, allocations: 0 / 0.5049 GB, free: 111.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004445/0.6043, allocations: 1.565 MB / 0.5065 GB, free: 111.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (236): * Single equations (assignments): 228 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004119/0.6047, allocations: 214.6 kB / 0.5067 GB, free: 111.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004658/0.6094, allocations: 4.321 MB / 0.5109 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6094, allocations: 1.156 kB / 0.5109 GB, free: 111.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001312/0.6107, allocations: 1.165 MB / 0.512 GB, free: 111.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.6126, allocations: 0.5382 MB / 0.5125 GB, free: 111.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.626, allocations: 11.49 MB / 0.5238 GB, free: 105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002241/0.6282, allocations: 1.834 MB / 0.5256 GB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002352/0.6305, allocations: 0.7118 MB / 0.5262 GB, free: 103.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001344/0.6319, allocations: 0.7885 MB / 0.527 GB, free: 102.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.914e-06/0.6319, allocations: 0 / 0.527 GB, free: 102.7 MB / 410.7 MB Notification: Performance of Templates: time 0.06203/0.6939, allocations: 52.05 MB / 0.5778 GB, free: 52.68 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.519302733242512]