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.00171/0.00171, allocations: 114.9 kB / 19.04 MB, free: 3.281 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.001785/0.001785, allocations: 190 kB / 22.21 MB, free: 112 kB / 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.421/1.421, allocations: 225.6 MB / 250.8 MB, free: 13.41 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.001565/0.001565, allocations: 51.92 kB / 368.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2901, allocations: 52.15 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01582/0.3059, allocations: 13.57 MB / 434.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.3172, allocations: 4.905 MB / 439.3 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002225/0.3194, allocations: 83.75 kB / 439.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007816/0.3272, allocations: 4.256 MB / 443.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007019/0.3342, allocations: 2.206 MB / 445.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.3367, allocations: 1.096 MB / 447 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008285/0.345, allocations: 5.976 MB / 453 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004751/0.3498, allocations: 3.798 MB / 456.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003103/0.3529, allocations: 2.162 MB / 458.9 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004386/0.3573, allocations: 3.085 MB / 462 MB, free: 5.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.3583, allocations: 0.4922 MB / 462.5 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.3614, allocations: 1.693 MB / 464.2 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0027/0.3641, allocations: 2.665 MB / 466.9 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003382/0.3675, allocations: 2.894 MB / 469.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.3792, allocations: 9.574 MB / 479.3 MB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3792, allocations: 4 kB / 479.3 MB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3792, allocations: 0 / 479.3 MB, free: 4.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000279/0.3795, allocations: 0 / 479.3 MB, free: 4.402 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.01554/0.395, allocations: 6.18 MB / 485.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/0.3951, allocations: 8.031 kB / 485.5 MB, free: 14.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/0.407, allocations: 2.571 MB / 488.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0095/0.4165, allocations: 3.829 MB / 491.9 MB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.4169, allocations: 304.3 kB / 492.2 MB, free: 7.363 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001888/0.4187, allocations: 451.5 kB / 492.6 MB, free: 6.922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/0.4477, allocations: 12.4 MB / 0.4932 GB, free: 9.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002845/0.448, allocations: 59.62 kB / 0.4933 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/0.4496, allocations: 191.8 kB / 0.4935 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003587/0.4531, allocations: 2.027 MB / 0.4954 GB, free: 7.504 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/0.478, allocations: 10.56 MB / 0.5057 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3161/0.794, allocations: 44.22 MB / 0.5489 GB, free: 77.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.8056, allocations: 4.696 MB / 0.5535 GB, free: 77.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/0.8079, allocations: 1.887 MB / 0.5554 GB, free: 76.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009753/0.8177, allocations: 7.124 MB / 0.5623 GB, free: 72.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.8177, allocations: 46.78 kB / 0.5624 GB, free: 72.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.94e-06/0.8177, allocations: 3.75 kB / 0.5624 GB, free: 72.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05681/0.8745, allocations: 19.87 MB / 0.5818 GB, free: 56.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/0.8746, allocations: 205.2 kB / 0.582 GB, free: 56.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004683/0.8792, allocations: 4.474 MB / 0.5863 GB, free: 52.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002726/0.8795, allocations: 61.7 kB / 0.5864 GB, free: 52.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001456/0.881, allocations: 3.658 MB / 0.59 GB, free: 48.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005777/0.8816, allocations: 0.8739 MB / 0.5908 GB, free: 48.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.8828, allocations: 1.352 MB / 0.5921 GB, free: 46.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.8829, allocations: 309 kB / 0.5924 GB, free: 46.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/0.8854, allocations: 2.359 MB / 0.5947 GB, free: 43.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003714/0.8892, allocations: 6.164 MB / 0.6007 GB, free: 36.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007452/0.8966, allocations: 9.171 MB / 0.6097 GB, free: 25.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.818e-05/0.8967, allocations: 40 kB / 0.6097 GB, free: 25.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01359/0.9103, allocations: 9.546 MB / 0.6191 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.249e-05/0.9103, allocations: 60 kB / 0.6191 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.569e-05/0.9104, allocations: 132 kB / 0.6192 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003449/0.9139, allocations: 1.375 MB / 0.6206 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/0.9177, allocations: 1.472 MB / 0.622 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009365/0.927, allocations: 8.495 MB / 0.6303 GB, free: 3.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/0.9315, allocations: 351.7 kB / 0.6307 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005711/0.932, allocations: 391.2 kB / 0.631 GB, free: 3.07 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.002907/0.9349, allocations: 2.493 MB / 0.6335 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005938/0.9355, allocations: 421.2 kB / 0.6339 GB, free: 152 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00861/0.9441, allocations: 4.099 MB / 0.6379 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/0.9442, allocations: 27.98 kB / 0.6379 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/0.9442, allocations: 4 kB / 0.6379 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.048e-05/0.9442, allocations: 11.97 kB / 0.6379 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01978/0.964, allocations: 10.12 MB / 0.6478 GB, free: 1.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.964, allocations: 4 kB / 0.6478 GB, free: 1.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/0.9654, allocations: 331.5 kB / 0.6481 GB, free: 1.434 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003877/0.9693, allocations: 1.148 MB / 0.6492 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/0.9696, allocations: 43.92 kB / 0.6493 GB, free: 244 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.981, allocations: 7.16 MB / 0.6563 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.9811, allocations: 8 kB / 0.6563 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01252/0.9936, allocations: 6.901 MB / 0.663 GB, free: 1.953 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.9949, allocations: 478 kB / 0.6635 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005877/0.9955, allocations: 44.45 kB / 0.6635 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001577/0.997, allocations: 111.9 kB / 0.6636 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004135/0.9975, allocations: 152.9 kB / 0.6638 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001627/0.9976, allocations: 59.52 kB / 0.6638 GB, free: 1.105 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004533/1.002, allocations: 2.808 MB / 0.6666 GB, free: 14.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 3.938 kB / 0.6666 GB, free: 14.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005325/1.007, allocations: 1.215 MB / 0.6678 GB, free: 13.08 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.0005696/1.008, allocations: 226.5 kB / 0.668 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009164/1.017, allocations: 5.528 MB / 0.6734 GB, free: 7.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/1.017, allocations: 4 kB / 0.6734 GB, free: 7.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002736/1.02, allocations: 1.743 MB / 0.6751 GB, free: 5.574 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/1.023, allocations: 0.5354 MB / 0.6756 GB, free: 5.043 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.043, allocations: 11.31 MB / 0.6866 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005074/1.048, allocations: 3.875 MB / 0.6904 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004946/1.053, allocations: 1.938 MB / 0.6923 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009339/1.054, allocations: 271.4 kB / 0.6926 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of SimCode: time 1.744e-06/1.054, allocations: 0 / 0.6926 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of Templates: time 0.09212/1.146, allocations: 44.3 MB / 0.7358 GB, free: 7.453 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: 7.247982454486191]