Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001355/0.001355, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001509/0.001509, allocations: 204.6 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.472/1.472, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.83 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2732, allocations: 53.32 MB / 432.1 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01567/0.2889, allocations: 13.54 MB / 445.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.299, allocations: 4.918 MB / 450.5 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/0.3013, allocations: 95.69 kB / 450.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007562/0.3088, allocations: 4.244 MB / 454.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.3141, allocations: 2.171 MB / 457 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.3164, allocations: 1.098 MB / 458.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008286/0.3247, allocations: 6.056 MB / 464.2 MB, free: 7.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005305/0.33, allocations: 3.782 MB / 468 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004478/0.3345, allocations: 2.169 MB / 470.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004964/0.3394, allocations: 3.081 MB / 473.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001219/0.3407, allocations: 500 kB / 473.7 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003353/0.344, allocations: 1.662 MB / 475.4 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002996/0.347, allocations: 2.649 MB / 478 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003849/0.3509, allocations: 2.883 MB / 480.9 MB, free: 6.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.3637, allocations: 9.519 MB / 490.4 MB, free: 12.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3637, allocations: 0 / 490.4 MB, free: 12.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3637, allocations: 0 / 490.4 MB, free: 12.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002867/0.364, allocations: 0 / 490.4 MB, free: 12.81 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.01449/0.3785, allocations: 6.172 MB / 496.6 MB, free: 6.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3786, allocations: 12.03 kB / 496.6 MB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.3903, allocations: 2.575 MB / 499.2 MB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009857/0.4001, allocations: 3.774 MB / 0.4911 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.4004, allocations: 308.3 kB / 0.4914 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0013/0.4017, allocations: 439.6 kB / 0.4919 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02365/0.4254, allocations: 12.42 MB / 0.504 GB, free: 2.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.4255, allocations: 51.59 kB / 0.504 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005117/0.426, allocations: 191.9 kB / 0.5042 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003316/0.4293, allocations: 2.027 MB / 0.5062 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/0.452, allocations: 10.57 MB / 0.5165 GB, free: 5.371 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3475/0.7995, allocations: 44.21 MB / 0.5597 GB, free: 70.63 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.8118, allocations: 4.693 MB / 0.5643 GB, free: 69.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.814, allocations: 1.883 MB / 0.5661 GB, free: 68.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01217/0.8261, allocations: 7.211 MB / 0.5732 GB, free: 64.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.8262, allocations: 56.25 kB / 0.5732 GB, free: 64.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.839e-06/0.8262, allocations: 0 / 0.5732 GB, free: 64.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.06248/0.8887, allocations: 19.75 MB / 0.5925 GB, free: 47.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.8887, allocations: 209.4 kB / 0.5927 GB, free: 47.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004961/0.8937, allocations: 4.474 MB / 0.5971 GB, free: 42.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003949/0.8941, allocations: 57.69 kB / 0.5971 GB, free: 42.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001669/0.8958, allocations: 3.645 MB / 0.6007 GB, free: 39.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007156/0.8965, allocations: 0.8739 MB / 0.6015 GB, free: 38.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.8978, allocations: 1.353 MB / 0.6029 GB, free: 37.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.8979, allocations: 305.1 kB / 0.6032 GB, free: 36.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002775/0.9006, allocations: 2.371 MB / 0.6055 GB, free: 34.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003963/0.9046, allocations: 6.169 MB / 0.6115 GB, free: 26.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007688/0.9123, allocations: 9.175 MB / 0.6205 GB, free: 15.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.021e-05/0.9124, allocations: 40 kB / 0.6205 GB, free: 15.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.01573/0.9281, allocations: 9.572 MB / 0.6298 GB, free: 5.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7e-05/0.9282, allocations: 63.94 kB / 0.6299 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/0.9283, allocations: 132 kB / 0.63 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003882/0.9322, allocations: 1.366 MB / 0.6314 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004445/0.9366, allocations: 1.478 MB / 0.6328 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.9488, allocations: 8.468 MB / 0.6411 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/0.9538, allocations: 363.5 kB / 0.6414 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/0.9549, allocations: 384 kB / 0.6418 GB, free: 9.539 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.004564/0.9594, allocations: 2.482 MB / 0.6442 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009032/0.9603, allocations: 425.2 kB / 0.6446 GB, free: 6.625 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009035/0.9694, allocations: 4.106 MB / 0.6486 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.734e-05/0.9694, allocations: 24 kB / 0.6487 GB, free: 2.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.9695, allocations: 8 kB / 0.6487 GB, free: 2.473 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/0.9695, allocations: 11.95 kB / 0.6487 GB, free: 2.461 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02255/0.992, allocations: 10.14 MB / 0.6586 GB, free: 8.223 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/0.9921, allocations: 4.625 kB / 0.6586 GB, free: 8.219 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.9937, allocations: 327.5 kB / 0.6589 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003963/0.9977, allocations: 1.144 MB / 0.66 GB, free: 6.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003032/0.998, allocations: 47.98 kB / 0.66 GB, free: 6.703 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/1.009, allocations: 7.153 MB / 0.667 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.009, allocations: 11.94 kB / 0.667 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/1.022, allocations: 6.913 MB / 0.6738 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/1.024, allocations: 474.1 kB / 0.6742 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000645/1.025, allocations: 39.94 kB / 0.6743 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/1.026, allocations: 115.9 kB / 0.6744 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003602/1.027, allocations: 153 kB / 0.6745 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/1.027, allocations: 59.98 kB / 0.6746 GB, free: 7.562 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004413/1.031, allocations: 2.798 MB / 0.6773 GB, free: 4.762 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/1.031, allocations: 0 / 0.6773 GB, free: 4.762 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005399/1.037, allocations: 1.202 MB / 0.6785 GB, free: 3.562 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.0006143/1.037, allocations: 235.6 kB / 0.6787 GB, free: 3.324 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009591/1.047, allocations: 5.529 MB / 0.6841 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.047, allocations: 4 kB / 0.6841 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/1.05, allocations: 1.747 MB / 0.6858 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.053, allocations: 0.5429 MB / 0.6864 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.075, allocations: 11.31 MB / 0.6974 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006332/1.081, allocations: 3.863 MB / 0.7012 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005122/1.087, allocations: 1.93 MB / 0.7031 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009055/1.087, allocations: 267.4 kB / 0.7033 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of SimCode: time 1.403e-06/1.087, allocations: 0 / 0.7033 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of Templates: time 0.3426/1.43, allocations: 44.07 MB / 0.7464 GB, free: 191.2 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.188228973187506]