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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009835/0.0009835, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009527/0.0009527, allocations: 86.23 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.679e-05/1.682e-05, allocations: 0 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 47.58 MB / 363.1 MB, free: 7.09 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4803/0.5938, allocations: 76.58 MB / 439.6 MB, free: 3.043 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5941, allocations: 65.78 kB / 439.7 MB, free: 3.012 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006997/0.6011, allocations: 2.559 MB / 442.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.6012, allocations: 0 / 442.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.6012, allocations: 0 / 442.3 MB, free: 0.875 MB / 314.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.0004521/0.6016, allocations: 387.6 kB / 442.6 MB, free: 468 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6017, allocations: 12.03 kB / 442.7 MB, free: 456 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.6019, allocations: 23.8 kB / 442.7 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.6021, allocations: 189.5 kB / 442.9 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-06/0.6021, allocations: 0 / 442.9 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.6022, allocations: 14.64 kB / 442.9 MB, free: 196 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001644/0.6023, allocations: 53.3 kB / 442.9 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.6025, allocations: 77.73 kB / 443 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.6025, allocations: 7.984 kB / 443 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.6025, allocations: 0 / 443 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.6026, allocations: 6.078 kB / 443 MB, free: 80 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.6032, allocations: 410.9 kB / 443.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.6035, allocations: 94.59 kB / 443.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.877e-05/0.6036, allocations: 31.97 kB / 443.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.6036, allocations: 0 / 443.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.6036, allocations: 34.56 kB / 443.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 9.22e-07/0.6036, allocations: 0 / 443.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006129/0.6042, allocations: 348.6 kB / 443.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.6043, allocations: 62.97 kB / 444 MB, free: 15.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.6044, allocations: 100.8 kB / 444.1 MB, free: 15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.6044, allocations: 25.7 kB / 444.1 MB, free: 14.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.6045, allocations: 106.9 kB / 444.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.6045, allocations: 46.42 kB / 444.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.6045, allocations: 0 / 444.3 MB, free: 14.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.6047, allocations: 325.8 kB / 444.6 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.751e-05/0.6047, allocations: 21.69 kB / 444.6 MB, free: 14.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.212e-05/0.6048, allocations: 61.05 kB / 444.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.905e-05/0.6049, allocations: 29.8 kB / 444.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.6049, allocations: 0 / 444.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001709/0.6051, allocations: 111.9 kB / 444.8 MB, free: 14.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.6051, allocations: 7.984 kB / 444.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6051, allocations: 0 / 444.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.6051, allocations: 8.062 kB / 444.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.6053, allocations: 35.86 kB / 444.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6053, allocations: 7.938 kB / 444.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.6054, allocations: 0 / 444.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.6054, allocations: 4 kB / 444.9 MB, free: 14.26 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.292e-05/0.6055, allocations: 116.8 kB / 445 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.6055, allocations: 7.906 kB / 445 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.6055, allocations: 11.25 kB / 445 MB, free: 14.13 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6056, allocations: 8 kB / 445 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6056, allocations: 4 kB / 445 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.6056, allocations: 3.984 kB / 445 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.606, allocations: 382.9 kB / 445.4 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6061, allocations: 3.938 kB / 445.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.6062, allocations: 27.98 kB / 445.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.6062, allocations: 4.062 kB / 445.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.6063, allocations: 4 kB / 445.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.6063, allocations: 0 / 445.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6063, allocations: 0 / 445.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.6066, allocations: 271.5 kB / 445.7 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.6067, allocations: 85.02 kB / 445.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.6067, allocations: 4.031 kB / 445.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.478e-05/0.6068, allocations: 7.953 kB / 445.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/0.6068, allocations: 4 kB / 445.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.6068, allocations: 4 kB / 445.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.753e-05/0.6069, allocations: 94.39 kB / 445.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6069, allocations: 0 / 445.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000242/0.6071, allocations: 20 kB / 445.9 MB, free: 13.2 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001588/0.6073, allocations: 99.25 kB / 446 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001527/0.6075, allocations: 73.8 kB / 446.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.6075, allocations: 0 / 446.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.166e-05/0.6076, allocations: 38.38 kB / 446.1 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.6079, allocations: 19.45 kB / 446.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006502/0.6085, allocations: 342.1 kB / 446.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.6088, allocations: 0.708 MB / 447.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.536e-05/0.6089, allocations: 8.891 kB / 447.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.6089, allocations: 19.38 kB / 447.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6089, allocations: 0 / 447.2 MB, free: 11.88 MB / 330.7 MB Notification: Performance of Templates: time 0.003325/0.6123, allocations: 0.9818 MB / 448.2 MB, free: 10.91 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches