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.001285/0.001285, allocations: 103.4 kB / 16.62 MB, free: 6.809 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.001211/0.001211, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.329/1.329, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000959/0.000959, allocations: 46.27 kB / 300.1 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09024/0.09121, allocations: 49.44 MB / 349.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.002754/0.09402, allocations: 1.84 MB / 351.4 MB, free: 2.922 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008672/0.09491, allocations: 0.6272 MB / 352 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.09499, allocations: 7.938 kB / 352 MB, free: 2.281 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.09512, allocations: 15.86 kB / 352.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.09519, allocations: 27.77 kB / 352.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.0954, allocations: 43.89 kB / 352.1 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.09557, allocations: 119.4 kB / 352.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.09569, allocations: 29.38 kB / 352.3 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.639e-05/0.09575, allocations: 51.78 kB / 352.3 MB, free: 1.992 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.09584, allocations: 47.84 kB / 352.4 MB, free: 1.945 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.09587, allocations: 8 kB / 352.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.09595, allocations: 23.98 kB / 352.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.09598, allocations: 23.92 kB / 352.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.008e-05/0.09603, allocations: 51.73 kB / 352.5 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.09621, allocations: 127.9 kB / 352.6 MB, free: 1.715 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.09622, allocations: 4 kB / 352.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09623, allocations: 0 / 352.6 MB, free: 1.711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.09624, allocations: 0 / 352.6 MB, free: 1.711 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.0005177/0.09676, allocations: 413.7 kB / 353 MB, free: 1.262 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.0968, allocations: 15.89 kB / 353 MB, free: 1.246 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.097, allocations: 24.83 kB / 353 MB, free: 1.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.09716, allocations: 192.1 kB / 353.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.09719, allocations: 12.5 kB / 353.2 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.09722, allocations: 12.28 kB / 353.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.0974, allocations: 93.59 kB / 353.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.09742, allocations: 4 kB / 353.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.09744, allocations: 4 kB / 353.4 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.09745, allocations: 4 kB / 353.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001241/0.09758, allocations: 63.89 kB / 353.4 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/0.09821, allocations: 439.6 kB / 353.8 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.09847, allocations: 114.5 kB / 354 MB, free: 196 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.09854, allocations: 32.84 kB / 354 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.09856, allocations: 0 / 354 MB, free: 160 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.09858, allocations: 30.56 kB / 354 MB, free: 120 kB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 2.154e-06/0.09859, allocations: 3.984 kB / 354 MB, free: 116 kB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.00127/0.09986, allocations: 0.5343 MB / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.0999, allocations: 59.34 kB / 354.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.723e-05/0.1, allocations: 134.4 kB / 354.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1, allocations: 29.7 kB / 354.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.1001, allocations: 103.8 kB / 354.9 MB, free: 15.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.1001, allocations: 43.36 kB / 354.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.1002, allocations: 29.7 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.1003, allocations: 318.8 kB / 355.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.1003, allocations: 31.98 kB / 355.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.529e-05/0.1004, allocations: 63.33 kB / 355.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1005, allocations: 95.36 kB / 355.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1005, allocations: 0 / 355.5 MB, free: 14.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001859/0.1007, allocations: 133.5 kB / 355.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1008, allocations: 4 kB / 355.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1008, allocations: 4.062 kB / 355.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1008, allocations: 4 kB / 355.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.1009, allocations: 31.92 kB / 355.6 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.1009, allocations: 4 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.101, allocations: 7.938 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.101, allocations: 4 kB / 355.6 MB, free: 14.35 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 8.016e-05/0.1011, allocations: 129.7 kB / 355.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.1011, allocations: 11.89 kB / 355.8 MB, free: 14.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.1012, allocations: 16.38 kB / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1012, allocations: 0 / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1012, allocations: 4 kB / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1012, allocations: 3.938 kB / 355.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.1017, allocations: 424.1 kB / 356.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.1017, allocations: 0 / 356.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.1019, allocations: 27.98 kB / 356.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1019, allocations: 8 kB / 356.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.1019, allocations: 4 kB / 356.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1019, allocations: 7.938 kB / 356.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1019, allocations: 3.984 kB / 356.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.1022, allocations: 249.2 kB / 356.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.1022, allocations: 85.02 kB / 356.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.1023, allocations: 7.938 kB / 356.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.1024, allocations: 8.031 kB / 356.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.638e-05/0.1024, allocations: 4 kB / 356.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.1024, allocations: 4 kB / 356.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.1025, allocations: 99.27 kB / 356.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1025, allocations: 0 / 356.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1027, allocations: 20 kB / 356.7 MB, free: 13.14 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 9.149e-05/0.1028, allocations: 115.1 kB / 356.8 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.103, allocations: 83.86 kB / 356.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.103, allocations: 0 / 356.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.696e-05/0.1031, allocations: 43.92 kB / 357 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1034, allocations: 32.47 kB / 357 MB, free: 12.87 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.1042, allocations: 492.4 kB / 357.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.1044, allocations: 0.7041 MB / 358.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.096e-05/0.1045, allocations: 9.156 kB / 358.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.1045, allocations: 15.44 kB / 358.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1045, allocations: 0 / 358.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Templates: time 0.003332/0.1079, allocations: 1.111 MB / 359.3 MB, free: 10.51 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins/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