Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.00188/0.00188, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002371/0.002371, allocations: 211.9 kB / 23 MB, free: 5.609 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.554/1.554, allocations: 230.2 MB / 256.2 MB, free: 8.551 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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 67.88 kB / 376.5 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2644, allocations: 53.32 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.0153/0.2797, allocations: 13.55 MB / 443.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009853/0.2895, allocations: 4.921 MB / 448.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.2913, allocations: 87.75 kB / 448.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007889/0.2992, allocations: 4.237 MB / 452.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005754/0.3049, allocations: 2.167 MB / 454.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.3076, allocations: 1.111 MB / 455.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008643/0.3163, allocations: 6.056 MB / 461.9 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005684/0.3219, allocations: 3.778 MB / 465.7 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004957/0.3269, allocations: 2.162 MB / 467.9 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005955/0.3328, allocations: 3.085 MB / 470.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001911/0.3348, allocations: 0.4922 MB / 471.4 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004076/0.3388, allocations: 1.662 MB / 473.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003779/0.3426, allocations: 2.645 MB / 475.7 MB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005226/0.3478, allocations: 2.883 MB / 478.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01302/0.3609, allocations: 9.523 MB / 488.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.3609, allocations: 0 / 488.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3609, allocations: 4 kB / 488.2 MB, free: 12.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000319/0.3612, allocations: 0 / 488.2 MB, free: 12.93 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01556/0.3767, allocations: 6.16 MB / 494.3 MB, free: 6.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3768, allocations: 12.03 kB / 494.3 MB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.3888, allocations: 2.575 MB / 496.9 MB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01012/0.3989, allocations: 3.778 MB / 0.4889 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003761/0.3992, allocations: 304.4 kB / 0.4892 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/0.4014, allocations: 439.6 kB / 0.4897 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/0.4295, allocations: 12.41 MB / 0.5018 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002427/0.4298, allocations: 55.53 kB / 0.5018 GB, free: 2.312 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/0.4311, allocations: 191.9 kB / 0.502 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003479/0.4346, allocations: 2.035 MB / 0.504 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0243/0.4589, allocations: 10.57 MB / 0.5143 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.326/0.7849, allocations: 44.21 MB / 0.5575 GB, free: 70.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01152/0.7964, allocations: 4.7 MB / 0.5621 GB, free: 69.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002242/0.7987, allocations: 1.883 MB / 0.5639 GB, free: 68.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009455/0.8081, allocations: 7.21 MB / 0.571 GB, free: 64.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.8082, allocations: 53.09 kB / 0.571 GB, free: 64.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 3.908e-06/0.8082, allocations: 0 / 0.571 GB, free: 64.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06164/0.8698, allocations: 19.76 MB / 0.5903 GB, free: 47.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.8699, allocations: 209.9 kB / 0.5905 GB, free: 47.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005554/0.8754, allocations: 4.473 MB / 0.5949 GB, free: 42.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000472/0.8759, allocations: 57.7 kB / 0.5949 GB, free: 42.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.8775, allocations: 3.642 MB / 0.5985 GB, free: 39.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006929/0.8782, allocations: 0.8767 MB / 0.5994 GB, free: 38.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/0.8795, allocations: 1.35 MB / 0.6007 GB, free: 37.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.8796, allocations: 301.1 kB / 0.601 GB, free: 36.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002618/0.8822, allocations: 2.371 MB / 0.6033 GB, free: 34.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003741/0.8859, allocations: 6.172 MB / 0.6093 GB, free: 26.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007265/0.8932, allocations: 9.18 MB / 0.6183 GB, free: 15.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.365e-05/0.8932, allocations: 40 kB / 0.6183 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01454/0.9078, allocations: 9.554 MB / 0.6276 GB, free: 5.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.208e-05/0.9079, allocations: 63.94 kB / 0.6277 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001024/0.908, allocations: 132 kB / 0.6278 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003739/0.9117, allocations: 1.374 MB / 0.6292 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/0.916, allocations: 1.474 MB / 0.6306 GB, free: 2.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.928, allocations: 8.468 MB / 0.6389 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/0.9334, allocations: 359 kB / 0.6392 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/0.9348, allocations: 384.5 kB / 0.6396 GB, free: 9.574 MB / 462.1 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.006186/0.941, allocations: 2.493 MB / 0.642 GB, free: 7.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/0.9426, allocations: 426.4 kB / 0.6424 GB, free: 6.652 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/0.9526, allocations: 4.102 MB / 0.6464 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.138e-05/0.9527, allocations: 24 kB / 0.6464 GB, free: 2.512 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.191e-05/0.9527, allocations: 8 kB / 0.6465 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/0.9528, allocations: 11.78 kB / 0.6465 GB, free: 2.496 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/0.9784, allocations: 10.13 MB / 0.6564 GB, free: 8.262 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/0.9784, allocations: 4 kB / 0.6564 GB, free: 8.258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.98, allocations: 331.5 kB / 0.6567 GB, free: 7.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003983/0.9839, allocations: 1.148 MB / 0.6578 GB, free: 6.781 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003023/0.9843, allocations: 43.28 kB / 0.6578 GB, free: 6.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/0.9955, allocations: 7.159 MB / 0.6648 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/0.9955, allocations: 11.94 kB / 0.6648 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/1.008, allocations: 6.909 MB / 0.6716 GB, free: 8.441 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.01, allocations: 477.5 kB / 0.672 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.011, allocations: 43.94 kB / 0.6721 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002243/1.014, allocations: 123.6 kB / 0.6722 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004562/1.014, allocations: 141 kB / 0.6723 GB, free: 7.656 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/1.014, allocations: 63.98 kB / 0.6724 GB, free: 7.594 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006426/1.021, allocations: 2.795 MB / 0.6751 GB, free: 4.797 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.021, allocations: 4 kB / 0.6751 GB, free: 4.793 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007309/1.028, allocations: 1.199 MB / 0.6763 GB, free: 3.594 MB / 494.1 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.0007422/1.029, allocations: 234.2 kB / 0.6765 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/1.04, allocations: 5.528 MB / 0.6819 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.04, allocations: 0.875 kB / 0.6819 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0033/1.043, allocations: 1.749 MB / 0.6836 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004963/1.048, allocations: 0.5454 MB / 0.6842 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02478/1.073, allocations: 11.31 MB / 0.6952 GB, free: 124 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006405/1.079, allocations: 3.863 MB / 0.699 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004853/1.084, allocations: 1.934 MB / 0.7009 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009281/1.085, allocations: 267.4 kB / 0.7011 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of SimCode: time 1.593e-06/1.085, allocations: 0 / 0.7011 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.34/1.425, allocations: 44.06 MB / 0.7442 GB, free: 191.4 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 7.206442763097584]