Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001018/0.001018, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.001028/0.001028, allocations: 158.3 kB / 25.45 MB, free: 8.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9747/0.9747, allocations: 158.6 MB / 187.2 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 299.7 MB, free: 6.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.858e-05/3.043e-05, allocations: 2.281 kB / 299.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002117/0.002147, allocations: 1.72 MB / 301.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000831/0.002978, allocations: 0.6397 MB / 302 MB, free: 4.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.012e-05/0.003059, allocations: 4 kB / 302 MB, free: 4.555 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.003167, allocations: 19.8 kB / 302.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.571e-05/0.003233, allocations: 39.62 kB / 302.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.003469, allocations: 51.75 kB / 302.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.003617, allocations: 127.3 kB / 302.3 MB, free: 4.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.003734, allocations: 17.58 kB / 302.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.562e-05/0.003809, allocations: 71.86 kB / 302.4 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.391e-05/0.003883, allocations: 35.89 kB / 302.4 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.003902, allocations: 12 kB / 302.4 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.003965, allocations: 23.94 kB / 302.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.003984, allocations: 19.92 kB / 302.5 MB, free: 4.145 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.00402, allocations: 39.91 kB / 302.5 MB, free: 4.105 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.004202, allocations: 131.6 kB / 302.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004204, allocations: 0 / 302.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004205, allocations: 0 / 302.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004209, allocations: 0 / 302.6 MB, free: 3.977 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004348/0.004644, allocations: 341.9 kB / 303 MB, free: 3.613 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.004682, allocations: 19.92 kB / 303 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.004814, allocations: 28.86 kB / 303 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.005033, allocations: 129.7 kB / 303.1 MB, free: 3.414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.005048, allocations: 12.55 kB / 303.1 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.005078, allocations: 12.33 kB / 303.2 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.005246, allocations: 98.28 kB / 303.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.005257, allocations: 0 / 303.2 MB, free: 3.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.005269, allocations: 4 kB / 303.3 MB, free: 3.285 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.005275, allocations: 4 kB / 303.3 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.914e-05/0.005374, allocations: 67.95 kB / 303.3 MB, free: 3.215 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.005824, allocations: 367.5 kB / 303.7 MB, free: 2.816 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.006038, allocations: 94.64 kB / 303.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.006077, allocations: 28.84 kB / 303.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.006087, allocations: 0 / 303.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.006105, allocations: 38.5 kB / 303.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.123e-06/0.006106, allocations: 224 / 303.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.00101/0.007116, allocations: 392.8 kB / 304.2 MB, free: 2.219 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.007144, allocations: 51.41 kB / 304.3 MB, free: 2.156 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.902e-05/0.007213, allocations: 134.1 kB / 304.4 MB, free: 2.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.007225, allocations: 33.7 kB / 304.4 MB, free: 1.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.524e-05/0.00727, allocations: 104 kB / 304.5 MB, free: 1.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.007295, allocations: 51.58 kB / 304.6 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.007331, allocations: 29.72 kB / 304.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.325e-05/0.007404, allocations: 322.8 kB / 304.9 MB, free: 1.457 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.821e-05/0.007443, allocations: 27.98 kB / 305 MB, free: 1.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.228e-05/0.007495, allocations: 55.42 kB / 305 MB, free: 1.363 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.917e-05/0.007594, allocations: 99.36 kB / 305.1 MB, free: 1.254 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.007595, allocations: 0 / 305.1 MB, free: 1.254 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001331/0.007728, allocations: 141.4 kB / 305.2 MB, free: 1.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.007742, allocations: 8 kB / 305.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.007747, allocations: 0 / 305.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.00776, allocations: 0 / 305.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.102e-05/0.007841, allocations: 31.98 kB / 305.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.007846, allocations: 0 / 305.3 MB, free: 1.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.007877, allocations: 8 kB / 305.3 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.007883, allocations: 4 kB / 305.3 MB, free: 1.059 MB / 282.7 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 (17): * Single equations (assignments): 17 * 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 6.735e-05/0.00795, allocations: 129.7 kB / 305.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.007967, allocations: 12.02 kB / 305.4 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.007996, allocations: 16.44 kB / 305.5 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007998, allocations: 3.938 kB / 305.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.008002, allocations: 0 / 305.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.008007, allocations: 8.016 kB / 305.5 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.00832, allocations: 355.7 kB / 305.8 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.008322, allocations: 0 / 305.8 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.008401, allocations: 27.98 kB / 305.8 MB, free: 480 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.008406, allocations: 8.062 kB / 305.8 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.008413, allocations: 0 / 305.8 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.008416, allocations: 3.984 kB / 305.9 MB, free: 468 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.008418, allocations: 4 kB / 305.9 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.00861, allocations: 250 kB / 306.1 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.008621, allocations: 7.953 kB / 306.1 MB, free: 184 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.008635, allocations: 4 kB / 306.1 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.218e-05/0.008677, allocations: 8.031 kB / 306.1 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.008693, allocations: 7.922 kB / 306.1 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.008698, allocations: 8 kB / 306.1 MB, free: 156 kB / 282.7 MB Notification: Performance of sorting global known variables: time 3.409e-05/0.008732, allocations: 95.27 kB / 306.2 MB, free: 60 kB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008732, allocations: 4 kB / 306.2 MB, free: 56 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001722/0.008904, allocations: 24 kB / 306.3 MB, free: 32 kB / 282.7 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 (12): * Single equations (assignments): 12 * 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 9.965e-05/0.009004, allocations: 99.23 kB / 306.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001298/0.009134, allocations: 79.91 kB / 306.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.009135, allocations: 0 / 306.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.566e-05/0.009171, allocations: 35.94 kB / 306.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.009414, allocations: 24.22 kB / 306.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.009934, allocations: 396.8 kB / 306.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.99e-05/0.009994, allocations: 104.1 kB / 307 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.01003, allocations: 20.44 kB / 307 MB, free: 15.21 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01003, allocations: 0 / 307 MB, free: 15.21 MB / 298.7 MB Notification: Performance of Templates: time 0.00216/0.01219, allocations: 1.475 MB / 308.5 MB, free: 13.74 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.123979023657739]