Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000897/0.000897, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009295/0.0009295, allocations: 157.1 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9292/0.9292, allocations: 177 MB / 205.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.522e-05, allocations: 2.312 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002092/0.002108, allocations: 2.044 MB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.003016, allocations: 0.674 MB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.848e-05/0.003085, allocations: 3.938 kB / 275.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.695e-05/0.003182, allocations: 19.86 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.003244, allocations: 43.58 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.003446, allocations: 59.73 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.003592, allocations: 155.2 kB / 276 MB, free: 14.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.003692, allocations: 25.3 kB / 276 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.604e-05/0.003778, allocations: 79.8 kB / 276.1 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.003879, allocations: 47.88 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.003898, allocations: 8 kB / 276.1 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.726e-05/0.003955, allocations: 24 kB / 276.1 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.003977, allocations: 27.89 kB / 276.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.004019, allocations: 51.86 kB / 276.2 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000169/0.004188, allocations: 111.6 kB / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.00419, allocations: 0 / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004191, allocations: 0 / 276.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.004195, allocations: 4 kB / 276.3 MB, free: 14.39 MB / 266.7 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.0004592/0.004654, allocations: 468 kB / 276.8 MB, free: 13.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.894e-05/0.004683, allocations: 11.98 kB / 276.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001497/0.004832, allocations: 44.83 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.00498, allocations: 155.5 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.004991, allocations: 12.36 kB / 277 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.005012, allocations: 8.375 kB / 277 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.005173, allocations: 106.8 kB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.005185, allocations: 8.141 kB / 277.1 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005197, allocations: 7.938 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.005204, allocations: 4 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.00529, allocations: 43.95 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.005768, allocations: 442.5 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.00595, allocations: 94.94 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.00599, allocations: 27.72 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.006, allocations: 4 kB / 277.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.006019, allocations: 37.39 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.006021, allocations: 0 / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004749/0.006496, allocations: 310.1 kB / 278.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.006522, allocations: 59.56 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/0.006608, allocations: 198 kB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.00662, allocations: 33.64 kB / 278.4 MB, free: 12.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.154e-05/0.006681, allocations: 155 kB / 278.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.006714, allocations: 55.53 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.006754, allocations: 35.36 kB / 278.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.006858, allocations: 0.4923 MB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.006892, allocations: 19.94 kB / 279.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.006949, allocations: 62.62 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.191e-05/0.007041, allocations: 94.67 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007042, allocations: 0 / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001303/0.007172, allocations: 117.2 kB / 279.4 MB, free: 11.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.007183, allocations: 8 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007187, allocations: 0 / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.007196, allocations: 0 / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.007304, allocations: 39.92 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.007311, allocations: 7.938 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.903e-05/0.00735, allocations: 4 kB / 279.4 MB, free: 11.01 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.007357, allocations: 4 kB / 279.4 MB, free: 11 MB / 266.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 (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 7.101e-05/0.007428, allocations: 172.6 kB / 279.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007453, allocations: 15.91 kB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.672e-05/0.00748, allocations: 16.81 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.007482, allocations: 4 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.007486, allocations: 7.875 kB / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.00749, allocations: 0 / 279.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.007838, allocations: 420.7 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.007839, allocations: 0 / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.007938, allocations: 32.05 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.007941, allocations: 4 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.007953, allocations: 7.938 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.007955, allocations: 4 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.007957, allocations: 3.938 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.008175, allocations: 283.2 kB / 280.4 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.036e-05/0.008186, allocations: 7.953 kB / 280.4 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.008204, allocations: 11.94 kB / 280.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.008262, allocations: 11.98 kB / 280.4 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.008296, allocations: 11.98 kB / 280.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.008301, allocations: 4 kB / 280.4 MB, free: 9.918 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.77e-05/0.008349, allocations: 147.1 kB / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008349, allocations: 0 / 280.6 MB, free: 9.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.008513, allocations: 28 kB / 280.6 MB, free: 9.746 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 (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 6.831e-05/0.008582, allocations: 103.2 kB / 280.7 MB, free: 9.637 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001329/0.008715, allocations: 75.53 kB / 280.8 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008716, allocations: 4 kB / 280.8 MB, free: 9.555 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.613e-05/0.008762, allocations: 43.73 kB / 280.8 MB, free: 9.508 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.008987, allocations: 23.98 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006666/0.009653, allocations: 418 kB / 281.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.009694, allocations: 67.34 kB / 281.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.245e-05/0.009737, allocations: 12.64 kB / 281.3 MB, free: 8.941 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.009772, allocations: 16.5 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009773, allocations: 0 / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of Templates: time 0.003646/0.01342, allocations: 1.437 MB / 282.8 MB, free: 7.516 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6477522240020335]