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.0009993/0.0009993, allocations: 80.8 kB / 22.28 MB, free: 2.203 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.001057/0.001057, allocations: 167 kB / 25.7 MB, free: 8.422 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.9536/0.9536, allocations: 158.6 MB / 187.6 MB, free: 2.773 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.673e-06/1.673e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.196e-05/2.363e-05, allocations: 6.25 kB / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002693/0.002717, allocations: 1.854 MB / 253.4 MB, free: 5.375 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.003664, allocations: 0.6824 MB / 254.1 MB, free: 4.684 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.003738, allocations: 4 kB / 254.1 MB, free: 4.68 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.006874, allocations: 19.8 kB / 254.1 MB, free: 4.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.117e-05/0.006956, allocations: 35.7 kB / 254.1 MB, free: 4.625 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002204/0.007176, allocations: 51.75 kB / 254.2 MB, free: 4.574 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.007331, allocations: 131.2 kB / 254.3 MB, free: 4.445 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/0.00743, allocations: 18.23 kB / 254.3 MB, free: 4.43 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.007522, allocations: 67.88 kB / 254.4 MB, free: 4.363 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.007612, allocations: 35.89 kB / 254.4 MB, free: 4.328 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.007632, allocations: 12 kB / 254.4 MB, free: 4.316 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.348e-05/0.007715, allocations: 23.98 kB / 254.5 MB, free: 4.293 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.007737, allocations: 19.92 kB / 254.5 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003049/0.01079, allocations: 39.91 kB / 254.5 MB, free: 4.234 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.01097, allocations: 103.6 kB / 254.6 MB, free: 4.133 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.01098, allocations: 3.984 kB / 254.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01098, allocations: 0 / 254.6 MB, free: 4.129 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.01098, allocations: 0 / 254.6 MB, free: 4.129 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.0003953/0.01138, allocations: 308.7 kB / 254.9 MB, free: 3.805 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.01141, allocations: 15.98 kB / 255 MB, free: 3.789 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01158, allocations: 28.91 kB / 255 MB, free: 3.762 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.01176, allocations: 137.6 kB / 255.1 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.01177, allocations: 4.562 kB / 255.1 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.01179, allocations: 16.31 kB / 255.1 MB, free: 3.582 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.0119, allocations: 74.33 kB / 255.2 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.01191, allocations: 0 / 255.2 MB, free: 3.504 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.01192, allocations: 8 kB / 255.2 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.01193, allocations: 0 / 255.2 MB, free: 3.496 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.696e-05/0.01199, allocations: 31.92 kB / 255.2 MB, free: 3.465 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004142/0.01241, allocations: 291.3 kB / 255.5 MB, free: 3.16 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.01258, allocations: 70.48 kB / 255.6 MB, free: 3.082 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.0126, allocations: 16.84 kB / 255.6 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.01261, allocations: 0 / 255.6 MB, free: 3.062 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.01263, allocations: 42.5 kB / 255.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.01264, allocations: 0 / 255.7 MB, free: 3.012 MB / 234.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007631/0.0134, allocations: 333.9 kB / 256 MB, free: 2.652 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.01343, allocations: 55.41 kB / 256 MB, free: 2.586 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.558e-05/0.01351, allocations: 129.5 kB / 256.2 MB, free: 2.449 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.01352, allocations: 25.7 kB / 256.2 MB, free: 2.418 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.01357, allocations: 100 kB / 256.3 MB, free: 2.316 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.0136, allocations: 55.56 kB / 256.3 MB, free: 2.262 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003054/0.01665, allocations: 29.7 kB / 256.4 MB, free: 2.227 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.01674, allocations: 322.8 kB / 256.7 MB, free: 1.902 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.01677, allocations: 11.98 kB / 256.7 MB, free: 1.891 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.797e-05/0.01682, allocations: 47.31 kB / 256.7 MB, free: 1.832 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.0169, allocations: 83.23 kB / 256.8 MB, free: 1.738 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.0169, allocations: 0 / 256.8 MB, free: 1.738 MB / 234.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001298/0.01703, allocations: 93.53 kB / 256.9 MB, free: 1.641 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.01705, allocations: 4 kB / 256.9 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01705, allocations: 0 / 256.9 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.01707, allocations: 4 kB / 256.9 MB, free: 1.633 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.01721, allocations: 35.64 kB / 257 MB, free: 1.602 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01721, allocations: 7.938 kB / 257 MB, free: 1.594 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.742e-05/0.01725, allocations: 4 kB / 257 MB, free: 1.59 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.01726, allocations: 8.062 kB / 257 MB, free: 1.582 MB / 234.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 7.238e-05/0.01733, allocations: 121.8 kB / 257.1 MB, free: 1.453 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.01735, allocations: 4 kB / 257.1 MB, free: 1.449 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.01739, allocations: 20.42 kB / 257.1 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.01739, allocations: 0 / 257.1 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01739, allocations: 0 / 257.1 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.0174, allocations: 0 / 257.1 MB, free: 1.43 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.01773, allocations: 276.3 kB / 257.4 MB, free: 1.129 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.01773, allocations: 4.062 kB / 257.4 MB, free: 1.125 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.01786, allocations: 39.91 kB / 257.4 MB, free: 1.086 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01786, allocations: 4 kB / 257.4 MB, free: 1.082 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.01787, allocations: 4 kB / 257.4 MB, free: 1.078 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.01788, allocations: 4 kB / 257.4 MB, free: 1.074 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.01788, allocations: 3.938 kB / 257.5 MB, free: 1.07 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.01805, allocations: 197.2 kB / 257.6 MB, free: 0.8555 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.01806, allocations: 11.94 kB / 257.7 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.01808, allocations: 0 / 257.7 MB, free: 0.8438 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.01814, allocations: 4 kB / 257.7 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.01816, allocations: 15.92 kB / 257.7 MB, free: 0.8242 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.01817, allocations: 4 kB / 257.7 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of sorting global known variables: time 1.988e-05/0.01818, allocations: 24.77 kB / 257.7 MB, free: 0.793 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01819, allocations: 0 / 257.7 MB, free: 0.793 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002108/0.0184, allocations: 28 kB / 257.7 MB, free: 0.7656 MB / 234.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.813e-05/0.01849, allocations: 76.42 kB / 257.8 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001029/0.0186, allocations: 56.66 kB / 257.9 MB, free: 0.625 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.0186, allocations: 0 / 257.9 MB, free: 0.625 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.01864, allocations: 40.91 kB / 257.9 MB, free: 0.582 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01887, allocations: 19.98 kB / 257.9 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.02112, allocations: 348.8 kB / 258.3 MB, free: 192 kB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.907e-05/0.02117, allocations: 67.33 kB / 258.3 MB, free: 104 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.02123, allocations: 8.984 kB / 258.3 MB, free: 92 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.02131, allocations: 71.34 kB / 258.4 MB, free: 20 kB / 234.7 MB Notification: Performance of SimCode: time 1.342e-06/0.02131, allocations: 4 kB / 258.4 MB, free: 16 kB / 234.7 MB Notification: Performance of Templates: time 0.003454/0.02477, allocations: 1.324 MB / 259.7 MB, free: 14.71 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 240] 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","",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.7232258208096027]