Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.002369/0.002369, allocations: 91.92 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002465/0.002465, allocations: 145.1 kB / 24.26 MB, free: 160 kB / 18.57 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.617/1.617, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 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.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.666e-05/3.928e-05, allocations: 2.312 kB / 267.3 MB, free: 6.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.005604/0.005643, allocations: 1.806 MB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.007739, allocations: 0.6348 MB / 269.7 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.007849, allocations: 4 kB / 269.7 MB, free: 4.301 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.00802, allocations: 11.86 kB / 269.7 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.008179, allocations: 35.7 kB / 269.8 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.008552, allocations: 51.8 kB / 269.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.008876, allocations: 135.3 kB / 270 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.009041, allocations: 25.5 kB / 270 MB, free: 4.039 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/0.009239, allocations: 63.83 kB / 270.1 MB, free: 3.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.009399, allocations: 35.89 kB / 270.1 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.009441, allocations: 8 kB / 270.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.009579, allocations: 27.98 kB / 270.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.009622, allocations: 15.92 kB / 270.1 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.827e-05/0.009721, allocations: 39.91 kB / 270.2 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.01014, allocations: 135.6 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.01015, allocations: 4 kB / 270.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.01015, allocations: 0 / 270.3 MB, free: 3.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.01015, allocations: 0 / 270.3 MB, free: 3.715 MB / 250.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.001085/0.01124, allocations: 440 kB / 270.7 MB, free: 3.25 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.789e-05/0.01132, allocations: 12.03 kB / 270.8 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/0.01172, allocations: 36.83 kB / 270.8 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/0.01212, allocations: 140.4 kB / 270.9 MB, free: 3.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.01214, allocations: 12.56 kB / 270.9 MB, free: 3.027 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.683e-05/0.0122, allocations: 12.38 kB / 271 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003514/0.01255, allocations: 97.34 kB / 271 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.01257, allocations: 0 / 271 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.01259, allocations: 0 / 271 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.01261, allocations: 4 kB / 271.1 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.01291, allocations: 63.89 kB / 271.1 MB, free: 2.852 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.01422, allocations: 442.8 kB / 271.5 MB, free: 2.379 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.01472, allocations: 111.1 kB / 271.7 MB, free: 2.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.01484, allocations: 31.67 kB / 271.7 MB, free: 2.223 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.01486, allocations: 4 kB / 271.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/0.01492, allocations: 37.39 kB / 271.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.983e-06/0.01492, allocations: 0 / 271.7 MB, free: 2.172 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.002308/0.01723, allocations: 409.5 kB / 272.1 MB, free: 1.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.01729, allocations: 51.41 kB / 272.2 MB, free: 1.672 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.01754, allocations: 193 kB / 272.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.01757, allocations: 25.7 kB / 272.4 MB, free: 1.438 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.01774, allocations: 154.7 kB / 272.5 MB, free: 1.281 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.562e-05/0.01783, allocations: 55.56 kB / 272.6 MB, free: 1.227 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.01797, allocations: 39.38 kB / 272.6 MB, free: 1.18 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000399/0.01837, allocations: 0.5039 MB / 273.1 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.01848, allocations: 27.98 kB / 273.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001845/0.01867, allocations: 73.86 kB / 273.2 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.019, allocations: 115.5 kB / 273.3 MB, free: 432 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.01901, allocations: 0 / 273.3 MB, free: 432 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004553/0.01946, allocations: 137.5 kB / 273.5 MB, free: 288 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.01949, allocations: 7.938 kB / 273.5 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01949, allocations: 48 / 273.5 MB, free: 280 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.01952, allocations: 12.05 kB / 273.5 MB, free: 268 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002845/0.01981, allocations: 27.98 kB / 273.5 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.01983, allocations: 4 kB / 273.5 MB, free: 236 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.01993, allocations: 3.938 kB / 273.5 MB, free: 232 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.01995, allocations: 8 kB / 273.5 MB, free: 224 kB / 250.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 0.0002204/0.02017, allocations: 172.5 kB / 273.7 MB, free: 40 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.02025, allocations: 11.95 kB / 273.7 MB, free: 28 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.206e-05/0.02033, allocations: 20.42 kB / 273.7 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.02033, allocations: 0 / 273.7 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.02034, allocations: 0 / 273.7 MB, free: 8 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.02034, allocations: 4 kB / 273.7 MB, free: 4 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.02149, allocations: 432.6 kB / 274.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.02149, allocations: 0 / 274.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.02182, allocations: 27.98 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.02183, allocations: 4 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.02185, allocations: 4 kB / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.02185, allocations: 0 / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.02186, allocations: 0 / 274.2 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/0.02258, allocations: 327.1 kB / 274.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.02261, allocations: 11.91 kB / 274.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.167e-05/0.02265, allocations: 8 kB / 274.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.02281, allocations: 0 / 274.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.02286, allocations: 11.92 kB / 274.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.02288, allocations: 4 kB / 274.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001595/0.02304, allocations: 143.2 kB / 274.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.02304, allocations: 0 / 274.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005096/0.02355, allocations: 24 kB / 274.7 MB, free: 14.95 MB / 266.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 0.0001928/0.02374, allocations: 99.19 kB / 274.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.02412, allocations: 95.59 kB / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.02413, allocations: 0 / 274.9 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.02428, allocations: 51.64 kB / 275 MB, free: 14.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.02485, allocations: 19.98 kB / 275 MB, free: 14.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.02608, allocations: 393.2 kB / 275.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.02624, allocations: 88.27 kB / 275.5 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.02637, allocations: 16.97 kB / 275.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.02642, allocations: 12.5 kB / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.02642, allocations: 0 / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Templates: time 0.004736/0.03116, allocations: 1.146 MB / 276.6 MB, free: 12.99 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.519784400006756]