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.0009213/0.0009213, allocations: 83.89 kB / 21.18 MB, free: 3.387 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.000895/0.000895, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9113/0.9113, allocations: 173.3 MB / 201.1 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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 1.503e-06/1.503e-06, allocations: 0 / 268 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.584e-05, allocations: 10.19 kB / 268 MB, free: 6.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002246/0.002271, allocations: 1.822 MB / 269.8 MB, free: 4.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.003026, allocations: 0.6427 MB / 270.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.822e-05/0.003094, allocations: 0 / 270.4 MB, free: 3.969 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.003212, allocations: 11.86 kB / 270.5 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.003278, allocations: 43.64 kB / 270.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.003488, allocations: 51.75 kB / 270.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.003624, allocations: 131.2 kB / 270.7 MB, free: 3.734 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003725, allocations: 21.58 kB / 270.7 MB, free: 3.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.95e-05/0.003795, allocations: 63.88 kB / 270.8 MB, free: 3.645 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.003874, allocations: 35.91 kB / 270.8 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.003892, allocations: 8 kB / 270.8 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.003958, allocations: 27.97 kB / 270.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.003977, allocations: 19.92 kB / 270.8 MB, free: 3.555 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.004015, allocations: 39.91 kB / 270.9 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.004188, allocations: 95.67 kB / 271 MB, free: 3.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.004191, allocations: 7.984 kB / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004192, allocations: 0 / 271 MB, free: 3.414 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.004196, allocations: 0 / 271 MB, free: 3.414 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.0004296/0.004626, allocations: 428.4 kB / 271.4 MB, free: 2.961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.004661, allocations: 11.97 kB / 271.4 MB, free: 2.949 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.004824, allocations: 36.83 kB / 271.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.004977, allocations: 148.4 kB / 271.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.004987, allocations: 8.562 kB / 271.6 MB, free: 2.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.005009, allocations: 8.375 kB / 271.6 MB, free: 2.727 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.005145, allocations: 89.28 kB / 271.7 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.005157, allocations: 0 / 271.7 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.005169, allocations: 4 kB / 271.7 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.005177, allocations: 4 kB / 271.7 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.868e-05/0.005255, allocations: 35.97 kB / 271.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.005707, allocations: 418.7 kB / 272.2 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.00591, allocations: 87.08 kB / 272.2 MB, free: 2.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.512e-05/0.005945, allocations: 23.69 kB / 272.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.005953, allocations: 0 / 272.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.005976, allocations: 49.31 kB / 272.3 MB, free: 1.961 MB / 250.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.005977, allocations: 0 / 272.3 MB, free: 1.961 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007494/0.006726, allocations: 354.3 kB / 272.7 MB, free: 1.578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.006763, allocations: 55.41 kB / 272.7 MB, free: 1.512 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.484e-05/0.006858, allocations: 181.9 kB / 272.9 MB, free: 1.316 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.00687, allocations: 25.7 kB / 272.9 MB, free: 1.285 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.006934, allocations: 154.7 kB / 273.1 MB, free: 1.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.006963, allocations: 43.59 kB / 273.1 MB, free: 1.086 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.007007, allocations: 39.36 kB / 273.1 MB, free: 1.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.007135, allocations: 0.4961 MB / 273.6 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.387e-05/0.007169, allocations: 15.98 kB / 273.7 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.724e-05/0.007226, allocations: 62.67 kB / 273.7 MB, free: 448 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.00732, allocations: 86.72 kB / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.007321, allocations: 0 / 273.8 MB, free: 344 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001372/0.007459, allocations: 121.5 kB / 273.9 MB, free: 216 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.007473, allocations: 6.812 kB / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.007479, allocations: 0 / 273.9 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.007495, allocations: 8.062 kB / 273.9 MB, free: 204 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.007581, allocations: 27.98 kB / 274 MB, free: 176 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.007589, allocations: 4 kB / 274 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.203e-05/0.007621, allocations: 4 kB / 274 MB, free: 168 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.007629, allocations: 4 kB / 274 MB, free: 164 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 9.804e-05/0.007727, allocations: 168.5 kB / 274.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.007753, allocations: 19.84 kB / 274.2 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.007786, allocations: 20.42 kB / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.007788, allocations: 0 / 274.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.007793, allocations: 4 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.007797, allocations: 4 kB / 274.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.00812, allocations: 404.6 kB / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.008121, allocations: 0 / 274.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.139e-05/0.008202, allocations: 28 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.008206, allocations: 3.984 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.008215, allocations: 4 kB / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.008217, allocations: 0 / 274.6 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.008219, allocations: 3.938 kB / 274.6 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.008413, allocations: 287.2 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.186e-06/0.008421, allocations: 7.891 kB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.008434, allocations: 7.984 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.015e-05/0.008474, allocations: 4 kB / 274.9 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.008494, allocations: 11.92 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.008498, allocations: 4 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.26e-05/0.008541, allocations: 142.2 kB / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008541, allocations: 0 / 275.1 MB, free: 14.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000168/0.008709, allocations: 28 kB / 275.1 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 7.532e-05/0.008784, allocations: 99.25 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.008908, allocations: 67.59 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.00891, allocations: 0 / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.697e-05/0.008947, allocations: 43.64 kB / 275.3 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.009159, allocations: 15.98 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.009788, allocations: 385.2 kB / 275.7 MB, free: 14.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.064e-05/0.009828, allocations: 67.34 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.00987, allocations: 12.97 kB / 275.8 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.009904, allocations: 12.5 kB / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.009905, allocations: 0 / 275.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of Templates: time 0.00279/0.0127, allocations: 1.203 MB / 277 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","",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.6536781201139092]