Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001488/0.001489, allocations: 191.8 kB / 17.37 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 226.5 MB / 244.7 MB, free: 8.191 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001073/0.001073, allocations: 89.11 kB / 296.8 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000255/0.0002551, allocations: 8 kB / 356.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2067, allocations: 51.28 MB / 408 MB, free: 27.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001377/0.2081, allocations: 1.474 MB / 409.5 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006827/0.2088, allocations: 0.6238 MB / 410.1 MB, free: 25.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.2089, allocations: 4 kB / 410.1 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.545e-05/0.209, allocations: 17.48 kB / 410.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.2091, allocations: 31.75 kB / 410.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.2092, allocations: 36.52 kB / 410.2 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.2094, allocations: 121.5 kB / 410.3 MB, free: 25.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.2095, allocations: 25.39 kB / 410.4 MB, free: 25.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.059e-05/0.2095, allocations: 27.88 kB / 410.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.2096, allocations: 47.78 kB / 410.4 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.2096, allocations: 5.25 kB / 410.4 MB, free: 25.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.532e-05/0.2097, allocations: 19.98 kB / 410.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.2097, allocations: 19.91 kB / 410.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.2098, allocations: 73.5 kB / 410.5 MB, free: 25.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.2099, allocations: 91.09 kB / 410.6 MB, free: 25.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2099, allocations: 4 kB / 410.6 MB, free: 25.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2099, allocations: 0 / 410.6 MB, free: 25.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.2099, allocations: 0 / 410.6 MB, free: 25.12 MB / 298.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.0004361/0.2104, allocations: 396.8 kB / 411 MB, free: 24.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2104, allocations: 8.031 kB / 411 MB, free: 24.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.2106, allocations: 28.39 kB / 411.1 MB, free: 24.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.2107, allocations: 197.1 kB / 411.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.2107, allocations: 8.562 kB / 411.3 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.2108, allocations: 12.38 kB / 411.3 MB, free: 24.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.2109, allocations: 92.78 kB / 411.4 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.211, allocations: 0 / 411.4 MB, free: 24.31 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.211, allocations: 8 kB / 411.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.211, allocations: 0 / 411.4 MB, free: 24.3 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.2111, allocations: 59.97 kB / 411.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005137/0.2116, allocations: 459.5 kB / 411.9 MB, free: 23.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.2118, allocations: 110.6 kB / 412 MB, free: 23.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.524e-05/0.2119, allocations: 28.86 kB / 412 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.2119, allocations: 0 / 412 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.074e-05/0.2119, allocations: 38.55 kB / 412.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 9.62e-07/0.2119, allocations: 0 / 412.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001084/0.213, allocations: 0.5283 MB / 412.6 MB, free: 22.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.2131, allocations: 51.41 kB / 412.6 MB, free: 22.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.88e-05/0.2131, allocations: 129.9 kB / 412.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.006e-06/0.2132, allocations: 37.64 kB / 412.8 MB, free: 22.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.276e-05/0.2132, allocations: 103.9 kB / 412.9 MB, free: 22.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.273e-05/0.2132, allocations: 55.23 kB / 413 MB, free: 22.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.2132, allocations: 0 / 413 MB, free: 22.54 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.989e-05/0.2133, allocations: 318.8 kB / 413.3 MB, free: 22.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.575e-05/0.2133, allocations: 27.98 kB / 413.3 MB, free: 22.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/0.2134, allocations: 63.34 kB / 413.4 MB, free: 22.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.2135, allocations: 92.25 kB / 413.4 MB, free: 22.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2135, allocations: 0 / 413.4 MB, free: 22.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001561/0.2137, allocations: 129.5 kB / 413.6 MB, free: 21.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2137, allocations: 8 kB / 413.6 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2137, allocations: 0 / 413.6 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2137, allocations: 0 / 413.6 MB, free: 21.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.2138, allocations: 43.98 kB / 413.6 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2139, allocations: 0 / 413.6 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.167e-05/0.2139, allocations: 7.938 kB / 413.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2139, allocations: 4 kB / 413.6 MB, free: 21.82 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.955e-05/0.214, allocations: 125.8 kB / 413.8 MB, free: 21.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.214, allocations: 7.906 kB / 413.8 MB, free: 21.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.2141, allocations: 20.31 kB / 413.8 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2141, allocations: 0 / 413.8 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2141, allocations: 0 / 413.8 MB, free: 21.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2141, allocations: 7.938 kB / 413.8 MB, free: 21.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.2145, allocations: 420.1 kB / 414.2 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2145, allocations: 3.984 kB / 414.2 MB, free: 21.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2147, allocations: 31.94 kB / 414.2 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2147, allocations: 3.938 kB / 414.2 MB, free: 21.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2147, allocations: 7.984 kB / 414.3 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2147, allocations: 4.062 kB / 414.3 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2147, allocations: 0 / 414.3 MB, free: 21.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.2149, allocations: 249.1 kB / 414.5 MB, free: 20.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.129e-05/0.215, allocations: 85.02 kB / 414.6 MB, free: 20.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.215, allocations: 11.97 kB / 414.6 MB, free: 20.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.2151, allocations: 8 kB / 414.6 MB, free: 20.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.2151, allocations: 8.094 kB / 414.6 MB, free: 20.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.2151, allocations: 7.938 kB / 414.6 MB, free: 20.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.34e-05/0.2152, allocations: 91.27 kB / 414.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2152, allocations: 0 / 414.7 MB, free: 20.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.2154, allocations: 28 kB / 414.7 MB, free: 20.61 MB / 298.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 (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 7.67e-05/0.2155, allocations: 95.23 kB / 414.8 MB, free: 20.51 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.2156, allocations: 83.86 kB / 414.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2156, allocations: 0 / 414.9 MB, free: 20.43 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.831e-05/0.2157, allocations: 43.92 kB / 415 MB, free: 20.38 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.216, allocations: 19.92 kB / 415 MB, free: 20.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000582/0.2166, allocations: 0.5707 MB / 415.5 MB, free: 19.75 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.2167, allocations: 0.7004 MB / 416.2 MB, free: 19.03 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.2168, allocations: 15.44 kB / 416.3 MB, free: 19.01 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.2168, allocations: 7.938 kB / 416.3 MB, free: 19 MB / 298.7 MB Notification: Performance of Templates: time 0.002247/0.219, allocations: 1.409 MB / 417.7 MB, free: 17.6 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches