Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.001513/0.001513, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001653/0.001653, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|eddyCurrentForce.lossPower|mass.s|heatCapacitor.T",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 47.92 kB / 379 MB, free: 2.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2366, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003443/0.24, allocations: 2.022 MB / 434.4 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.2412, allocations: 0.709 MB / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.601e-05/0.2413, allocations: 0 / 435.1 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.2414, allocations: 23.8 kB / 435.1 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.2415, allocations: 39.62 kB / 435.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.2418, allocations: 55.75 kB / 435.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.242, allocations: 147.3 kB / 435.4 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2421, allocations: 25.28 kB / 435.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2422, allocations: 59.8 kB / 435.5 MB, free: 3.871 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.2424, allocations: 59.7 kB / 435.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.2424, allocations: 12 kB / 435.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.2425, allocations: 27.98 kB / 435.6 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.2425, allocations: 27.86 kB / 435.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.05e-05/0.2426, allocations: 59.72 kB / 435.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.2429, allocations: 152.6 kB / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2429, allocations: 0 / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2429, allocations: 0 / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2429, allocations: 0 / 435.8 MB, free: 3.543 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006941/0.2436, allocations: 369.7 kB / 436.2 MB, free: 3.152 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2436, allocations: 12.03 kB / 436.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.2438, allocations: 28.83 kB / 436.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.244, allocations: 149.1 kB / 436.3 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.2441, allocations: 8.375 kB / 436.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.2441, allocations: 12.38 kB / 436.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002837/0.2444, allocations: 121.5 kB / 436.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.2444, allocations: 3.953 kB / 436.5 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.2444, allocations: 8 kB / 436.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2444, allocations: 0 / 436.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.2447, allocations: 99.86 kB / 436.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008825/0.2456, allocations: 454.5 kB / 437 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.2459, allocations: 122.5 kB / 437.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.2461, allocations: 40.88 kB / 437.2 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.2461, allocations: 4 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2461, allocations: 38.56 kB / 437.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.2461, allocations: 0 / 437.2 MB, free: 1.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001008/0.2471, allocations: 409 kB / 437.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.2472, allocations: 55.41 kB / 437.7 MB, free: 1.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2473, allocations: 137.2 kB / 437.8 MB, free: 1.336 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.2473, allocations: 29.64 kB / 437.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.2474, allocations: 120.2 kB / 438 MB, free: 1.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.2474, allocations: 47.56 kB / 438 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.2475, allocations: 37.67 kB / 438 MB, free: 1.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.2476, allocations: 318.8 kB / 438.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.2478, allocations: 51.91 kB / 438.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.2479, allocations: 71.31 kB / 438.5 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.2482, allocations: 127.3 kB / 438.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.2482, allocations: 0 / 438.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000358/0.2485, allocations: 173.5 kB / 438.8 MB, free: 332 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.2486, allocations: 7.938 kB / 438.8 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2486, allocations: 0 / 438.8 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2486, allocations: 4 kB / 438.8 MB, free: 320 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.2488, allocations: 35.92 kB / 438.8 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.2488, allocations: 4 kB / 438.8 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.098e-05/0.2489, allocations: 12.05 kB / 438.8 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.2489, allocations: 8 kB / 438.8 MB, free: 260 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.249, allocations: 117.8 kB / 439 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.249, allocations: 15.89 kB / 439 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.2491, allocations: 20.7 kB / 439 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2491, allocations: 4 kB / 439 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2491, allocations: 0 / 439 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.2491, allocations: 0 / 439 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/0.2498, allocations: 451.3 kB / 439.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2498, allocations: 0 / 439.4 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.25, allocations: 35.98 kB / 439.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.25, allocations: 4 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.25, allocations: 0 / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.25, allocations: 4.062 kB / 439.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.25, allocations: 7.938 kB / 439.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000522/0.2506, allocations: 308.3 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.2506, allocations: 11.95 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.2506, allocations: 0 / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.2507, allocations: 8 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.2508, allocations: 11.97 kB / 439.8 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.2508, allocations: 8 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.2509, allocations: 103.3 kB / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2509, allocations: 0 / 439.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.2511, allocations: 28 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001253/0.2512, allocations: 115.1 kB / 440.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.2516, allocations: 106.1 kB / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2516, allocations: 0 / 440.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.2517, allocations: 59.89 kB / 440.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.252, allocations: 28.19 kB / 440.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009534/0.253, allocations: 0.5161 MB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.2534, allocations: 0.708 MB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.2534, allocations: 19.44 kB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2534, allocations: 0 / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Templates: time 0.003684/0.2571, allocations: 1.689 MB / 443.2 MB, free: 11.76 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.707666381960735]