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.00203/0.00203, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002598/0.002598, allocations: 219.7 kB / 23.73 MB, free: 4.16 MB / 14.72 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 1.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001774/0.001774, allocations: 47.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2738, allocations: 53.37 MB / 431.6 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01544/0.2893, allocations: 11.74 MB / 443.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.2996, allocations: 4.647 MB / 448 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.3019, allocations: 103.5 kB / 448.1 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008472/0.3103, allocations: 4.07 MB / 452.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006105/0.3164, allocations: 2.179 MB / 454.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.3192, allocations: 1.106 MB / 455.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008436/0.3277, allocations: 6.056 MB / 461.5 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006406/0.3341, allocations: 4.056 MB / 465.5 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/0.3379, allocations: 2.185 MB / 467.7 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00489/0.3428, allocations: 2.882 MB / 470.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001415/0.3442, allocations: 0.4922 MB / 471.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.3478, allocations: 1.51 MB / 472.6 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003842/0.3517, allocations: 2.653 MB / 475.3 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00478/0.3564, allocations: 2.172 MB / 477.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01416/0.3706, allocations: 9.559 MB / 487 MB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3706, allocations: 0 / 487 MB, free: 15.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3706, allocations: 0 / 487 MB, free: 15.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003691/0.371, allocations: 0 / 487 MB, free: 15.07 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.01674/0.3877, allocations: 6.103 MB / 493.1 MB, free: 8.898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3877, allocations: 8.031 kB / 493.1 MB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.3995, allocations: 2.568 MB / 495.7 MB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.4099, allocations: 3.694 MB / 499.4 MB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.4102, allocations: 304.3 kB / 499.7 MB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/0.4113, allocations: 443.7 kB / 0.4884 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02474/0.4361, allocations: 12.5 MB / 0.5006 GB, free: 4.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/0.4362, allocations: 55.52 kB / 0.5006 GB, free: 4.523 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004894/0.4367, allocations: 187.9 kB / 0.5008 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003332/0.44, allocations: 2.035 MB / 0.5028 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/0.4628, allocations: 10.55 MB / 0.5131 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3179/0.7807, allocations: 40.63 MB / 0.5528 GB, free: 71.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.7925, allocations: 4.238 MB / 0.5569 GB, free: 71.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002244/0.7948, allocations: 1.881 MB / 0.5588 GB, free: 70.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009673/0.8045, allocations: 5.701 MB / 0.5643 GB, free: 68.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.8045, allocations: 55.08 kB / 0.5644 GB, free: 68.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.648e-06/0.8045, allocations: 0 / 0.5644 GB, free: 68.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.061/0.8655, allocations: 19.68 MB / 0.5836 GB, free: 52.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.8656, allocations: 209.9 kB / 0.5838 GB, free: 52.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/0.8708, allocations: 4.291 MB / 0.588 GB, free: 48.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003226/0.8711, allocations: 57.7 kB / 0.588 GB, free: 48.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.8727, allocations: 3.672 MB / 0.5916 GB, free: 44.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006472/0.8733, allocations: 0.8657 MB / 0.5925 GB, free: 44.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/0.8746, allocations: 1.362 MB / 0.5938 GB, free: 42.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.8746, allocations: 301.1 kB / 0.5941 GB, free: 42.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.8773, allocations: 2.363 MB / 0.5964 GB, free: 40.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003874/0.8812, allocations: 6.227 MB / 0.6025 GB, free: 32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007524/0.8887, allocations: 9.174 MB / 0.6114 GB, free: 21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.535e-05/0.8888, allocations: 36 kB / 0.6115 GB, free: 20.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01522/0.904, allocations: 9.533 MB / 0.6208 GB, free: 11.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/0.9041, allocations: 64.03 kB / 0.6208 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.9042, allocations: 135.9 kB / 0.621 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003774/0.908, allocations: 1.362 MB / 0.6223 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004431/0.9124, allocations: 1.478 MB / 0.6237 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009746/0.9222, allocations: 8.248 MB / 0.6318 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005309/0.9275, allocations: 350.8 kB / 0.6321 GB, free: 15.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008894/0.9284, allocations: 388 kB / 0.6325 GB, free: 15.34 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.004262/0.9326, allocations: 2.48 MB / 0.6349 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008898/0.9335, allocations: 397.4 kB / 0.6353 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008946/0.9425, allocations: 4.076 MB / 0.6393 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.56e-05/0.9425, allocations: 24 kB / 0.6393 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/0.9425, allocations: 8 kB / 0.6393 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.887e-05/0.9426, allocations: 15.94 kB / 0.6393 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/0.9619, allocations: 8.618 MB / 0.6478 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/0.9619, allocations: 4 kB / 0.6478 GB, free: 15.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.9635, allocations: 327.5 kB / 0.6481 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003937/0.9674, allocations: 1.156 MB / 0.6492 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002148/0.9676, allocations: 47.44 kB / 0.6492 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.9787, allocations: 6.944 MB / 0.656 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.9787, allocations: 8 kB / 0.656 GB, free: 7.035 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/0.9917, allocations: 6.89 MB / 0.6628 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.993, allocations: 357.4 kB / 0.6631 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008396/0.9939, allocations: 36 kB / 0.6631 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/0.9959, allocations: 111.9 kB / 0.6632 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.9963, allocations: 156.7 kB / 0.6634 GB, free: 15.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001635/0.9965, allocations: 63.52 kB / 0.6635 GB, free: 15.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005044/1.002, allocations: 2.527 MB / 0.6659 GB, free: 12.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/1.002, allocations: 0 / 0.6659 GB, free: 12.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006733/1.008, allocations: 1.183 MB / 0.6671 GB, free: 11.64 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.0008005/1.009, allocations: 226.3 kB / 0.6673 GB, free: 11.41 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01064/1.02, allocations: 5.531 MB / 0.6727 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.02, allocations: 192 / 0.6727 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003167/1.023, allocations: 1.75 MB / 0.6744 GB, free: 4.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/1.027, allocations: 487.7 kB / 0.6749 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02234/1.049, allocations: 11.29 MB / 0.6859 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005205/1.054, allocations: 3.341 MB / 0.6892 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004782/1.059, allocations: 1.896 MB / 0.691 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007895/1.06, allocations: 255.4 kB / 0.6913 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/1.06, allocations: 0 / 0.6913 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of Templates: time 0.08598/1.146, allocations: 43.52 MB / 0.7337 GB, free: 7.75 MB / 0.545 GB " [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: 7.2268681190907955]