Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.001315/0.001315, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001332/0.001332, allocations: 194.8 kB / 23.71 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 51.91 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.274, allocations: 52.19 MB / 423.1 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01499/0.289, allocations: 11.79 MB / 434.9 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009987/0.299, allocations: 4.632 MB / 439.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.3006, allocations: 107.4 kB / 439.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007519/0.3081, allocations: 4.081 MB / 443.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005931/0.314, allocations: 2.206 MB / 445.9 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002779/0.3168, allocations: 1.115 MB / 447 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008142/0.325, allocations: 5.97 MB / 453 MB, free: 484 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00498/0.3299, allocations: 4.057 MB / 457 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.3333, allocations: 2.193 MB / 459.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004506/0.3378, allocations: 2.882 MB / 462.1 MB, free: 7.258 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009627/0.3388, allocations: 0.4922 MB / 462.6 MB, free: 6.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.3417, allocations: 1.537 MB / 464.1 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002549/0.3442, allocations: 2.665 MB / 466.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002562/0.3468, allocations: 2.176 MB / 469 MB, free: 376 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01062/0.3574, allocations: 9.609 MB / 478.6 MB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.3574, allocations: 3.984 kB / 478.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3574, allocations: 0 / 478.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002287/0.3576, allocations: 0 / 478.6 MB, free: 6.719 MB / 382.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.01368/0.3713, allocations: 6.107 MB / 484.7 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3714, allocations: 12.03 kB / 484.7 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.3823, allocations: 2.575 MB / 487.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.3927, allocations: 3.749 MB / 491 MB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.393, allocations: 308.3 kB / 491.3 MB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001361/0.3944, allocations: 451.6 kB / 491.8 MB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02444/0.4188, allocations: 12.49 MB / 0.4924 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.419, allocations: 47.64 kB / 0.4925 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005745/0.4196, allocations: 187.8 kB / 0.4927 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003351/0.4229, allocations: 2.035 MB / 0.4946 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0229/0.4458, allocations: 10.55 MB / 0.505 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3149/0.7607, allocations: 40.64 MB / 0.5446 GB, free: 79.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01129/0.772, allocations: 4.234 MB / 0.5488 GB, free: 79.31 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.7741, allocations: 1.88 MB / 0.5506 GB, free: 78.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008966/0.7831, allocations: 5.685 MB / 0.5562 GB, free: 76.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.7831, allocations: 51.22 kB / 0.5562 GB, free: 76.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 3.968e-06/0.7831, allocations: 0 / 0.5562 GB, free: 76.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05851/0.8416, allocations: 19.8 MB / 0.5755 GB, free: 61.15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.8417, allocations: 201.9 kB / 0.5757 GB, free: 60.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004004/0.8457, allocations: 4.296 MB / 0.5799 GB, free: 56.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.8459, allocations: 61.7 kB / 0.58 GB, free: 56.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.8472, allocations: 3.675 MB / 0.5836 GB, free: 53.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/0.8478, allocations: 0.8779 MB / 0.5844 GB, free: 52.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.849, allocations: 1.346 MB / 0.5858 GB, free: 51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.849, allocations: 309.1 kB / 0.586 GB, free: 50.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/0.8516, allocations: 2.367 MB / 0.5884 GB, free: 48.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003875/0.8555, allocations: 6.218 MB / 0.5944 GB, free: 40.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007493/0.8629, allocations: 9.171 MB / 0.6034 GB, free: 29.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.164e-05/0.863, allocations: 40 kB / 0.6034 GB, free: 29.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01534/0.8784, allocations: 9.519 MB / 0.6127 GB, free: 19.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.671e-05/0.8784, allocations: 66.91 kB / 0.6128 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-05/0.8785, allocations: 132 kB / 0.6129 GB, free: 19.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/0.8822, allocations: 1.362 MB / 0.6142 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0045/0.8867, allocations: 1.478 MB / 0.6157 GB, free: 16.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009365/0.8961, allocations: 8.224 MB / 0.6237 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00483/0.9009, allocations: 363.5 kB / 0.6241 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006476/0.9016, allocations: 388 kB / 0.6244 GB, free: 7.707 MB / 446.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.002981/0.9046, allocations: 2.488 MB / 0.6269 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005893/0.9051, allocations: 389.4 kB / 0.6272 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007664/0.9128, allocations: 4.078 MB / 0.6312 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.9128, allocations: 24 kB / 0.6312 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.9129, allocations: 8 kB / 0.6312 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/0.9129, allocations: 7.969 kB / 0.6313 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01852/0.9314, allocations: 8.605 MB / 0.6397 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/0.9314, allocations: 4.594 kB / 0.6397 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.9329, allocations: 327.5 kB / 0.64 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004065/0.937, allocations: 1.148 MB / 0.6411 GB, free: 6.543 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003535/0.9373, allocations: 40.66 kB / 0.6411 GB, free: 6.504 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.9488, allocations: 6.951 MB / 0.6479 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.9488, allocations: 4 kB / 0.6479 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01295/0.9618, allocations: 6.873 MB / 0.6546 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/0.9634, allocations: 361.2 kB / 0.655 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006621/0.9641, allocations: 36 kB / 0.655 GB, free: 8.102 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.9658, allocations: 123.5 kB / 0.6551 GB, free: 7.984 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003944/0.9662, allocations: 149.4 kB / 0.6553 GB, free: 7.84 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.9663, allocations: 60 kB / 0.6553 GB, free: 7.781 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004401/0.9707, allocations: 2.519 MB / 0.6578 GB, free: 5.25 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9707, allocations: 0 / 0.6578 GB, free: 5.25 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006858/0.9776, allocations: 1.207 MB / 0.659 GB, free: 4.043 MB / 478.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.0008722/0.9784, allocations: 249 kB / 0.6592 GB, free: 3.797 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01022/0.9887, allocations: 5.532 MB / 0.6646 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/0.9887, allocations: 0 / 0.6646 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002967/0.9916, allocations: 1.73 MB / 0.6663 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003347/0.995, allocations: 492.3 kB / 0.6668 GB, free: 12.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02212/1.017, allocations: 11.28 MB / 0.6778 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005435/1.023, allocations: 3.341 MB / 0.681 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004885/1.027, allocations: 1.908 MB / 0.6829 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/1.028, allocations: 255.3 kB / 0.6832 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of SimCode: time 1.413e-06/1.028, allocations: 0 / 0.6832 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.08981/1.118, allocations: 43.8 MB / 0.7259 GB, free: 15.9 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 6.924929540604353]