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.001321/0.001321, allocations: 91.03 kB / 16.3 MB, free: 5.996 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.001523/0.001523, allocations: 187.2 kB / 17.2 MB, free: 5.91 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.337/1.337, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002446/0.0002447, allocations: 9.141 kB / 300.7 MB, free: 6.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.08943, allocations: 50.43 MB / 351.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001716/0.09119, allocations: 1.414 MB / 352.6 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008144/0.09202, allocations: 0.5848 MB / 353.1 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.679e-05/0.0921, allocations: 4 kB / 353.1 MB, free: 9.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.09215, allocations: 7.922 kB / 353.1 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.09227, allocations: 47.91 kB / 353.2 MB, free: 9.695 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.09246, allocations: 35.89 kB / 353.2 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.09262, allocations: 87.8 kB / 353.3 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.09274, allocations: 21.67 kB / 353.3 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.09281, allocations: 39.84 kB / 353.4 MB, free: 9.508 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.205e-05/0.09291, allocations: 39.84 kB / 353.4 MB, free: 9.469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.09293, allocations: 4 kB / 353.4 MB, free: 9.465 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.932e-05/0.09301, allocations: 24 kB / 353.4 MB, free: 9.441 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.09304, allocations: 15.91 kB / 353.5 MB, free: 9.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.09309, allocations: 49.64 kB / 353.5 MB, free: 9.371 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.09324, allocations: 95.7 kB / 353.6 MB, free: 9.277 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.09325, allocations: 0 / 353.6 MB, free: 9.277 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.09326, allocations: 7.938 kB / 353.6 MB, free: 9.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.09327, allocations: 0 / 353.6 MB, free: 9.27 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.0004875/0.09376, allocations: 391.2 kB / 354 MB, free: 8.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.0938, allocations: 8.031 kB / 354 MB, free: 8.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.09399, allocations: 31.84 kB / 354 MB, free: 8.801 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.09417, allocations: 186.9 kB / 354.2 MB, free: 8.578 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.09419, allocations: 8.188 kB / 354.2 MB, free: 8.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.09422, allocations: 15.91 kB / 354.2 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.0944, allocations: 89.41 kB / 354.3 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.09442, allocations: 0 / 354.3 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.09444, allocations: 4 kB / 354.3 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.09445, allocations: 4 kB / 354.3 MB, free: 8.457 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.09458, allocations: 68.47 kB / 354.4 MB, free: 8.391 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006243/0.09521, allocations: 452.4 kB / 354.8 MB, free: 7.891 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.09547, allocations: 106.5 kB / 354.9 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.0955, allocations: 4 kB / 354.9 MB, free: 7.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.09552, allocations: 34.56 kB / 355 MB, free: 7.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.09553, allocations: 0 / 355 MB, free: 7.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001295/0.09683, allocations: 0.5266 MB / 355.5 MB, free: 7.133 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.09687, allocations: 51.41 kB / 355.6 MB, free: 7.07 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.09698, allocations: 122 kB / 355.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.09701, allocations: 33.64 kB / 355.7 MB, free: 6.898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.09708, allocations: 103.8 kB / 355.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.09712, allocations: 55.3 kB / 355.9 MB, free: 6.738 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.09713, allocations: 0 / 355.9 MB, free: 6.738 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.09724, allocations: 318.8 kB / 356.2 MB, free: 6.418 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.26e-05/0.0973, allocations: 31.98 kB / 356.2 MB, free: 6.387 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.09737, allocations: 55.42 kB / 356.3 MB, free: 6.32 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.593e-05/0.09744, allocations: 39.89 kB / 356.3 MB, free: 6.281 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.09745, allocations: 4 kB / 356.3 MB, free: 6.277 MB / 286.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001903/0.09765, allocations: 133.4 kB / 356.4 MB, free: 6.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.09766, allocations: 4 kB / 356.4 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.09767, allocations: 0 / 356.4 MB, free: 6.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.09769, allocations: 7.938 kB / 356.4 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.09783, allocations: 31.92 kB / 356.5 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.09785, allocations: 4 kB / 356.5 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.09792, allocations: 3.984 kB / 356.5 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.09794, allocations: 12.06 kB / 356.5 MB, free: 6.078 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/0.09803, allocations: 117.8 kB / 356.6 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.09806, allocations: 11.91 kB / 356.6 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.09811, allocations: 16.38 kB / 356.6 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.09812, allocations: 0 / 356.6 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.09813, allocations: 8 kB / 356.6 MB, free: 5.914 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.09814, allocations: 0 / 356.6 MB, free: 5.914 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.09865, allocations: 432.1 kB / 357.1 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.09866, allocations: 0 / 357.1 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.09882, allocations: 27.92 kB / 357.1 MB, free: 5.402 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.09883, allocations: 4 kB / 357.1 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.09885, allocations: 0 / 357.1 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.09885, allocations: 4.094 kB / 357.1 MB, free: 5.395 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.09886, allocations: 3.938 kB / 357.1 MB, free: 5.391 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002879/0.09915, allocations: 273.5 kB / 357.4 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.09921, allocations: 88.98 kB / 357.5 MB, free: 4.984 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.09924, allocations: 8 kB / 357.5 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.064e-05/0.09933, allocations: 144 / 357.5 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.09937, allocations: 19.92 kB / 357.5 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.09938, allocations: 4 kB / 357.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.09944, allocations: 99.27 kB / 357.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09944, allocations: 0 / 357.6 MB, free: 4.855 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.09971, allocations: 24 kB / 357.6 MB, free: 4.832 MB / 286.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 (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 9.486e-05/0.09981, allocations: 95.25 kB / 357.7 MB, free: 4.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001586/0.09998, allocations: 87.89 kB / 357.8 MB, free: 4.645 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1, allocations: 128 / 357.8 MB, free: 4.645 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.234e-05/0.1001, allocations: 39.94 kB / 357.8 MB, free: 4.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.1003, allocations: 15.98 kB / 357.8 MB, free: 4.59 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.1011, allocations: 0.5517 MB / 358.4 MB, free: 4.008 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.1013, allocations: 0.7043 MB / 359.1 MB, free: 3.277 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.196e-05/0.1014, allocations: 16.88 kB / 359.1 MB, free: 3.258 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.1014, allocations: 11.44 kB / 359.1 MB, free: 3.246 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1014, allocations: 0 / 359.1 MB, free: 3.246 MB / 286.1 MB Notification: Performance of Templates: time 0.002986/0.1044, allocations: 1.01 MB / 360.1 MB, free: 2.25 MB / 286.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","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches