Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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.002044/0.002044, 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.002297/0.002297, allocations: 192.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.456/1.456, 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.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 55.92 kB / 370.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2667, allocations: 52.18 MB / 423.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2): time 0.01604/0.2828, allocations: 13.08 MB / 436.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009859/0.2926, allocations: 4.62 MB / 440.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.2943, allocations: 107.5 kB / 440.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00614/0.3005, allocations: 3.099 MB / 444 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.3069, allocations: 2.646 MB / 446.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002213/0.3091, allocations: 0.9866 MB / 447.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009245/0.3183, allocations: 6.973 MB / 454.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004538/0.3228, allocations: 3.562 MB / 458.1 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003856/0.3267, allocations: 2.27 MB / 460.4 MB, free: 8.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005102/0.3318, allocations: 3.372 MB / 463.8 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001137/0.3329, allocations: 484 kB / 464.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.3357, allocations: 1.393 MB / 465.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003001/0.3387, allocations: 2.949 MB / 468.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003198/0.3419, allocations: 2.403 MB / 471 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.3542, allocations: 10.53 MB / 481.5 MB, free: 3.781 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3542, allocations: 0 / 481.5 MB, free: 3.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3542, allocations: 0 / 481.5 MB, free: 3.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002727/0.3545, allocations: 0 / 481.5 MB, free: 3.781 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.01759/0.3721, allocations: 7.403 MB / 488.9 MB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3721, allocations: 8.031 kB / 488.9 MB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01698/0.3891, allocations: 3.982 MB / 492.9 MB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.4002, allocations: 4.118 MB / 497 MB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.4005, allocations: 324.4 kB / 497.4 MB, free: 3.809 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.4024, allocations: 439.6 kB / 497.8 MB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02853/0.4309, allocations: 15.79 MB / 0.5015 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001726/0.4311, allocations: 63.45 kB / 0.5016 GB, free: 2.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007094/0.4318, allocations: 203.8 kB / 0.5018 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005294/0.4371, allocations: 3.216 MB / 0.5049 GB, free: 15.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/0.465, allocations: 14.09 MB / 0.5187 GB, free: 1.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2862/0.7512, allocations: 53.37 MB / 0.5708 GB, free: 63.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01218/0.7634, allocations: 5.351 MB / 0.576 GB, free: 62.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003874/0.7673, allocations: 3.338 MB / 0.5793 GB, free: 61.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/0.7858, allocations: 11.93 MB / 0.5909 GB, free: 54.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.7858, allocations: 64.12 kB / 0.591 GB, free: 54.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=289): time 7.063e-06/0.7858, allocations: 3.094 kB / 0.591 GB, free: 54.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=339): time 0.1348/0.9206, allocations: 42.54 MB / 0.6326 GB, free: 11.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.9207, allocations: 218 kB / 0.6328 GB, free: 11.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005882/0.9266, allocations: 5.211 MB / 0.6379 GB, free: 6.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007627/0.9273, allocations: 69.7 kB / 0.6379 GB, free: 6.656 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001837/0.9292, allocations: 4.559 MB / 0.6424 GB, free: 2.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001329/0.9305, allocations: 1.314 MB / 0.6437 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00255/0.9331, allocations: 1.861 MB / 0.6455 GB, free: 15.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9332, allocations: 309.1 kB / 0.6458 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007287/0.9405, allocations: 4.8 MB / 0.6505 GB, free: 9.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01168/0.9522, allocations: 9.836 MB / 0.6601 GB, free: 13.65 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02099/0.9732, allocations: 15.56 MB / 0.6753 GB, free: 11.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/0.9733, allocations: 48 kB / 0.6753 GB, free: 11.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.0502/1.024, allocations: 19.48 MB / 0.6943 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/1.024, allocations: 83.12 kB / 0.6944 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000342/1.024, allocations: 172 kB / 0.6946 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02507/1.049, allocations: 5.937 MB / 0.7004 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008314/1.057, allocations: 2.105 MB / 0.7024 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0394/1.097, allocations: 25.69 MB / 0.7275 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00875/1.106, allocations: 0.554 MB / 0.7281 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002274/1.108, allocations: 0.5078 MB / 0.7285 GB, free: 4.762 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 791 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1094): * Single equations (assignments): 1086 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01017/1.118, allocations: 3.099 MB / 0.7316 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001968/1.12, allocations: 480.8 kB / 0.732 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.289/1.409, allocations: 12.86 MB / 0.7446 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.131e-05/1.409, allocations: 50.81 kB / 0.7446 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-05/1.409, allocations: 9.719 kB / 0.7447 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.768e-05/1.409, allocations: 19.36 kB / 0.7447 GB, free: 181.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04471/1.454, allocations: 22.15 MB / 0.7663 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.206e-05/1.454, allocations: 4 kB / 0.7663 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002875/1.457, allocations: 0.5847 MB / 0.7669 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01881/1.476, allocations: 4.967 MB / 0.7717 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006875/1.476, allocations: 52 kB / 0.7718 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02223/1.499, allocations: 20.9 MB / 0.7922 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.499, allocations: 7.938 kB / 0.7922 GB, free: 140.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0325/1.531, allocations: 17.39 MB / 0.8092 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/1.532, allocations: 443.5 kB / 0.8096 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009224/1.533, allocations: 59.98 kB / 0.8097 GB, free: 123.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/1.536, allocations: 261.6 kB / 0.8099 GB, free: 123.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/1.537, allocations: 213 kB / 0.8101 GB, free: 122.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002543/1.537, allocations: 79.98 kB / 0.8102 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003685/1.541, allocations: 3.002 MB / 0.8131 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.541, allocations: 0 / 0.8131 GB, free: 119.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006809/1.548, allocations: 1.75 MB / 0.8148 GB, free: 118 MB / 0.5294 GB 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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006005/1.548, allocations: 203.3 kB / 0.815 GB, free: 117.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01538/1.564, allocations: 10.48 MB / 0.8253 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/1.564, allocations: 4 kB / 0.8253 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005324/1.569, allocations: 3.791 MB / 0.829 GB, free: 103.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/1.573, allocations: 0.5186 MB / 0.8295 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02555/1.599, allocations: 16.31 MB / 0.8454 GB, free: 86.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005028/1.604, allocations: 4.118 MB / 0.8494 GB, free: 82.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005939/1.61, allocations: 2.924 MB / 0.8523 GB, free: 79.71 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001497/1.611, allocations: 327.4 kB / 0.8526 GB, free: 79.39 MB / 0.5294 GB Notification: Performance of SimCode: time 1.844e-06/1.611, allocations: 0 / 0.8526 GB, free: 79.39 MB / 0.5294 GB Notification: Performance of Templates: time 0.1062/1.717, allocations: 78.82 MB / 0.9295 GB, free: 0.9961 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar2/Fourbar2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar2.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: 8.108728189021349]