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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000771/0.0007713, allocations: 89.56 kB / 17.31 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008192/0.0008191, allocations: 179.3 kB / 18.22 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.099/1.099, allocations: 223.3 MB / 242.3 MB, free: 14.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002078/0.0002077, allocations: 11.94 kB / 302.1 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06865/0.06887, allocations: 50.42 MB / 352.5 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001498/0.07038, allocations: 1.497 MB / 354 MB, free: 1.934 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007945/0.07119, allocations: 0.6195 MB / 354.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.07126, allocations: 0 / 354.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.314e-05/0.07135, allocations: 15.8 kB / 354.6 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.07142, allocations: 35.75 kB / 354.7 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.07159, allocations: 39.89 kB / 354.7 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.07172, allocations: 119.4 kB / 354.8 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.07183, allocations: 29.23 kB / 354.8 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.07188, allocations: 31.88 kB / 354.9 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.07196, allocations: 47.77 kB / 354.9 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.07198, allocations: 8 kB / 354.9 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.558e-05/0.07205, allocations: 23.98 kB / 355 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.07207, allocations: 15.92 kB / 355 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.07213, allocations: 73.44 kB / 355 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.07225, allocations: 92.05 kB / 355.1 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.07226, allocations: 4 kB / 355.1 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.07226, allocations: 4 kB / 355.1 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.895e-06/0.07227, allocations: 0 / 355.1 MB, free: 0.7656 MB / 286.1 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.0003923/0.07267, allocations: 391.3 kB / 355.5 MB, free: 344 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.87e-05/0.0727, allocations: 8.031 kB / 355.5 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.07286, allocations: 24.83 kB / 355.6 MB, free: 312 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.07303, allocations: 196.2 kB / 355.7 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.07305, allocations: 8.547 kB / 355.8 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.07308, allocations: 16.36 kB / 355.8 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.07326, allocations: 97.61 kB / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.07327, allocations: 0 / 355.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.07329, allocations: 7.938 kB / 355.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.0733, allocations: 0 / 355.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.07345, allocations: 66.78 kB / 355.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.07403, allocations: 451.5 kB / 356.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.07426, allocations: 94.64 kB / 356.5 MB, free: 15.28 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.07432, allocations: 32.86 kB / 356.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.435e-06/0.07433, allocations: 0 / 356.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.07437, allocations: 46.48 kB / 356.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.07438, allocations: 0 / 356.6 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.001217/0.0756, allocations: 0.5304 MB / 357.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.07564, allocations: 55.41 kB / 357.1 MB, free: 14.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.07573, allocations: 129.2 kB / 357.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.07575, allocations: 25.7 kB / 357.3 MB, free: 14.35 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.07581, allocations: 107.9 kB / 357.4 MB, free: 14.24 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.07584, allocations: 43.36 kB / 357.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.07587, allocations: 21.72 kB / 357.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.07597, allocations: 322.8 kB / 357.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.823e-05/0.07602, allocations: 27.98 kB / 357.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.015e-05/0.07609, allocations: 57.92 kB / 357.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.07622, allocations: 96.19 kB / 357.9 MB, free: 13.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.07622, allocations: 7.922 kB / 358 MB, free: 13.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001763/0.07641, allocations: 133.4 kB / 358.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.07643, allocations: 4 kB / 358.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.07644, allocations: 3.984 kB / 358.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.07645, allocations: 4 kB / 358.1 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.07657, allocations: 28 kB / 358.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.07658, allocations: 7.984 kB / 358.1 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.07665, allocations: 8 kB / 358.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.07666, allocations: 4 kB / 358.1 MB, free: 13.45 MB / 302.1 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.0001095/0.07678, allocations: 129.7 kB / 358.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.07681, allocations: 11.91 kB / 358.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.07685, allocations: 12.38 kB / 358.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.07686, allocations: 4.031 kB / 358.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.07687, allocations: 8 kB / 358.3 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.07688, allocations: 7.922 kB / 358.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.07735, allocations: 432 kB / 358.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.07736, allocations: 0 / 358.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.0775, allocations: 31.98 kB / 358.8 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.07751, allocations: 3.938 kB / 358.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.07752, allocations: 0 / 358.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.07753, allocations: 4 kB / 358.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.07754, allocations: 0 / 358.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.07778, allocations: 249.1 kB / 359 MB, free: 12.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.07783, allocations: 89.02 kB / 359.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.07785, allocations: 3.938 kB / 359.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.182e-05/0.07794, allocations: 4 kB / 359.1 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.07797, allocations: 12.03 kB / 359.1 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.07798, allocations: 4 kB / 359.1 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.377e-05/0.07803, allocations: 99.2 kB / 359.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07803, allocations: 0 / 359.2 MB, free: 12.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.07827, allocations: 24 kB / 359.2 MB, free: 12.22 MB / 302.1 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.946e-05/0.07835, allocations: 103.2 kB / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.0785, allocations: 75.91 kB / 359.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.07851, allocations: 96 / 359.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.215e-05/0.07857, allocations: 51.98 kB / 359.5 MB, free: 11.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.07888, allocations: 19.94 kB / 359.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.07955, allocations: 0.5823 MB / 360.1 MB, free: 11.35 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.07979, allocations: 0.7043 MB / 360.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.07983, allocations: 11.44 kB / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of SimCode: time 2.8e-07/0.07983, allocations: 0 / 360.8 MB, free: 10.61 MB / 302.1 MB Notification: Performance of Templates: time 0.002382/0.08222, allocations: 1.397 MB / 362.2 MB, free: 9.211 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches