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.002034/0.002034, allocations: 84.34 kB / 21.72 MB, free: 2.82 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.002517/0.002517, allocations: 162.1 kB / 25.02 MB, free: 9.324 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 1.413/1.413, allocations: 158.6 MB / 186.8 MB, free: 2.91 MB / 170.7 MB " [Timeout remaining time 178] 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.543e-06/1.543e-06, allocations: 0 / 250.3 MB, free: 3.965 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.633e-05, allocations: 2.312 kB / 250.3 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003466/0.003493, allocations: 1.731 MB / 252.1 MB, free: 2.219 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.004869, allocations: 0.6397 MB / 252.7 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.004979, allocations: 4 kB / 252.7 MB, free: 1.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.005108, allocations: 11.86 kB / 252.7 MB, free: 1.555 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.005257, allocations: 47.58 kB / 252.8 MB, free: 1.508 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.00556, allocations: 47.86 kB / 252.8 MB, free: 1.461 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002583/0.005818, allocations: 123.3 kB / 252.9 MB, free: 1.34 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.005958, allocations: 33.44 kB / 253 MB, free: 1.309 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.006105, allocations: 59.89 kB / 253 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.00622, allocations: 35.89 kB / 253.1 MB, free: 1.215 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.006246, allocations: 8 kB / 253.1 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.549e-05/0.006341, allocations: 27.98 kB / 253.1 MB, free: 1.18 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.137e-05/0.006373, allocations: 19.92 kB / 253.1 MB, free: 1.16 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.818e-05/0.006441, allocations: 39.91 kB / 253.2 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.006731, allocations: 135.6 kB / 253.3 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.006737, allocations: 0 / 253.3 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.006738, allocations: 0 / 253.3 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.006744, allocations: 3.938 kB / 253.3 MB, free: 0.9844 MB / 234.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.000679/0.007423, allocations: 334 kB / 253.6 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.007471, allocations: 11.98 kB / 253.6 MB, free: 0.6172 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.007724, allocations: 32.88 kB / 253.7 MB, free: 0.5859 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.008028, allocations: 141.6 kB / 253.8 MB, free: 432 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.008045, allocations: 8.562 kB / 253.8 MB, free: 424 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.78e-05/0.008093, allocations: 8.375 kB / 253.8 MB, free: 416 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.00831, allocations: 94.34 kB / 253.9 MB, free: 316 kB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.008328, allocations: 7.953 kB / 253.9 MB, free: 308 kB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.008344, allocations: 4 kB / 253.9 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.008352, allocations: 4 kB / 253.9 MB, free: 300 kB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.008499, allocations: 63.89 kB / 254 MB, free: 236 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.009278, allocations: 375.5 kB / 254.4 MB, free: 15.83 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.009593, allocations: 102.6 kB / 254.5 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.578e-05/0.009659, allocations: 32.84 kB / 254.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.00967, allocations: 0 / 254.5 MB, free: 15.68 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.009705, allocations: 34.56 kB / 254.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.009706, allocations: 0 / 254.5 MB, free: 15.64 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.001673/0.01138, allocations: 389 kB / 254.9 MB, free: 15.23 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.01144, allocations: 59.34 kB / 255 MB, free: 15.16 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.01157, allocations: 122.1 kB / 255.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.01159, allocations: 29.7 kB / 255.1 MB, free: 14.99 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.012e-05/0.01168, allocations: 104 kB / 255.2 MB, free: 14.88 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.01175, allocations: 55.56 kB / 255.3 MB, free: 14.83 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.01181, allocations: 33.67 kB / 255.3 MB, free: 14.79 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.01201, allocations: 326.8 kB / 255.6 MB, free: 14.46 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/0.01208, allocations: 31.98 kB / 255.7 MB, free: 14.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.223e-05/0.01217, allocations: 59.33 kB / 255.7 MB, free: 14.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.01233, allocations: 87.38 kB / 255.8 MB, free: 14.26 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01233, allocations: 0 / 255.8 MB, free: 14.26 MB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002518/0.01258, allocations: 146.3 kB / 255.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.0126, allocations: 4 kB / 255.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.0126, allocations: 4.062 kB / 255.9 MB, free: 14.11 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.01263, allocations: 7.984 kB / 256 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.01277, allocations: 24 kB / 256 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01278, allocations: 3.984 kB / 256 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.01e-05/0.01284, allocations: 4 kB / 256 MB, free: 14.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.01286, allocations: 8 kB / 256 MB, free: 14.06 MB / 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.0001381/0.01299, allocations: 121.7 kB / 256.1 MB, free: 13.93 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.01304, allocations: 15.95 kB / 256.1 MB, free: 13.91 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.01308, allocations: 12.44 kB / 256.1 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.01309, allocations: 4 kB / 256.1 MB, free: 13.9 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.01309, allocations: 4 kB / 256.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.0131, allocations: 0 / 256.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005941/0.01369, allocations: 355.8 kB / 256.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01369, allocations: 0 / 256.5 MB, free: 13.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.01386, allocations: 27.98 kB / 256.5 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01387, allocations: 0 / 256.5 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01388, allocations: 4 kB / 256.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.01388, allocations: 0 / 256.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01389, allocations: 4.062 kB / 256.5 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003761/0.01426, allocations: 265 kB / 256.8 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.009e-05/0.01428, allocations: 7.953 kB / 256.8 MB, free: 13.18 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.01431, allocations: 8 kB / 256.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.0144, allocations: 4 kB / 256.8 MB, free: 13.17 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.01443, allocations: 11.97 kB / 256.8 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.01444, allocations: 4 kB / 256.8 MB, free: 13.15 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.728e-05/0.01451, allocations: 93.77 kB / 256.9 MB, free: 13.06 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01451, allocations: 0 / 256.9 MB, free: 13.06 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.0148, allocations: 28 kB / 256.9 MB, free: 13.04 MB / 250.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.0001491/0.01495, allocations: 107.4 kB / 257 MB, free: 12.92 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.01515, allocations: 72 kB / 257.1 MB, free: 12.85 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01515, allocations: 0 / 257.1 MB, free: 12.85 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.622e-05/0.01523, allocations: 47.95 kB / 257.2 MB, free: 12.8 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.01559, allocations: 24.02 kB / 257.2 MB, free: 12.78 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.01639, allocations: 380.8 kB / 257.6 MB, free: 12.38 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.0165, allocations: 88.27 kB / 257.6 MB, free: 12.27 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.25e-05/0.01657, allocations: 16.97 kB / 257.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.094e-05/0.01662, allocations: 12.5 kB / 257.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01662, allocations: 0 / 257.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of Templates: time 0.004368/0.02099, allocations: 1.135 MB / 258.8 MB, free: 11.11 MB / 250.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.2975739520043135]