Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_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_3.2.3_cpp_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.0009534/0.0009534, allocations: 179.7 kB / 16.41 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006827/0.0006827, allocations: 88.81 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 15.98 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2061, allocations: 47.57 MB / 374.5 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001463/0.2076, allocations: 1.443 MB / 376 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.2083, allocations: 0.636 MB / 376.6 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.779e-05/0.2084, allocations: 0.9688 kB / 376.6 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.112e-05/0.2085, allocations: 14.05 kB / 376.6 MB, free: 43.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.211e-05/0.2085, allocations: 32.11 kB / 376.7 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.2087, allocations: 43.94 kB / 376.7 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.2088, allocations: 113.1 kB / 376.8 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2089, allocations: 26.98 kB / 376.9 MB, free: 43.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.209, allocations: 31 kB / 376.9 MB, free: 43.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.2091, allocations: 44.59 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2091, allocations: 3.75 kB / 376.9 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.747e-05/0.2092, allocations: 26.89 kB / 377 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.24e-05/0.2092, allocations: 14.77 kB / 377 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.2092, allocations: 45.11 kB / 377 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.2094, allocations: 99.3 kB / 377.1 MB, free: 43.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2094, allocations: 7.875 kB / 377.1 MB, free: 43.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2094, allocations: 0 / 377.1 MB, free: 43.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.2094, allocations: 1.031 kB / 377.1 MB, free: 43.45 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.0004009/0.2098, allocations: 396 kB / 377.5 MB, free: 43.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2098, allocations: 10.03 kB / 377.5 MB, free: 43.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001656/0.21, allocations: 22.48 kB / 377.5 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.2101, allocations: 191.8 kB / 377.7 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2102, allocations: 7.719 kB / 377.7 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.2102, allocations: 10.94 kB / 377.7 MB, free: 42.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.2104, allocations: 92 kB / 377.8 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2104, allocations: 1.031 kB / 377.8 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2104, allocations: 5.219 kB / 377.8 MB, free: 42.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2104, allocations: 6.156 kB / 377.8 MB, free: 42.74 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2105, allocations: 61.27 kB / 377.9 MB, free: 42.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.2111, allocations: 442.9 kB / 378.3 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.2114, allocations: 104.1 kB / 378.4 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.848e-05/0.2114, allocations: 35.44 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.828e-06/0.2115, allocations: 1.219 kB / 378.5 MB, free: 42.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.2115, allocations: 31.75 kB / 378.5 MB, free: 42.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2115, allocations: 0 / 378.5 MB, free: 42.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001297/0.2128, allocations: 0.5397 MB / 379 MB, free: 41.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.2128, allocations: 52.5 kB / 379.1 MB, free: 41.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.2129, allocations: 129.7 kB / 379.2 MB, free: 41.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.2129, allocations: 29.7 kB / 379.3 MB, free: 41.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.213, allocations: 104.1 kB / 379.4 MB, free: 41.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.213, allocations: 45.17 kB / 379.4 MB, free: 41.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-06/0.213, allocations: 1.062 kB / 379.4 MB, free: 41.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.372e-05/0.2131, allocations: 320.2 kB / 379.7 MB, free: 41.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.556e-05/0.2132, allocations: 27.78 kB / 379.7 MB, free: 41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.463e-05/0.2132, allocations: 63.34 kB / 379.8 MB, free: 40.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.171e-05/0.2133, allocations: 34.34 kB / 379.8 MB, free: 40.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2133, allocations: 0.7188 kB / 379.8 MB, free: 40.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000186/0.2135, allocations: 134 kB / 380 MB, free: 40.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2135, allocations: 5.375 kB / 380 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2135, allocations: 5.453 kB / 380 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2136, allocations: 1.281 kB / 380 MB, free: 40.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2137, allocations: 36.83 kB / 380 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2137, allocations: 2.062 kB / 380 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.581e-05/0.2138, allocations: 3.188 kB / 380 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.2138, allocations: 11.09 kB / 380 MB, free: 40.83 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.828e-05/0.2139, allocations: 119.1 kB / 380.1 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.2139, allocations: 12.25 kB / 380.2 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.2139, allocations: 18.52 kB / 380.2 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.214, allocations: 6.016 kB / 380.2 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.214, allocations: 0 / 380.2 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.214, allocations: 4 kB / 380.2 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.2144, allocations: 424.7 kB / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2144, allocations: 0 / 380.6 MB, free: 40.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.2145, allocations: 35.59 kB / 380.6 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2146, allocations: 1.375 kB / 380.6 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.2146, allocations: 0.9375 kB / 380.6 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2146, allocations: 6 kB / 380.6 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2146, allocations: 5.062 kB / 380.7 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.2148, allocations: 254 kB / 380.9 MB, free: 40.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.126e-05/0.2148, allocations: 84.58 kB / 381 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.2149, allocations: 5.266 kB / 381 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.215, allocations: 10.73 kB / 381 MB, free: 39.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.215, allocations: 11.92 kB / 381 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.215, allocations: 2.469 kB / 381 MB, free: 39.93 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.346e-05/0.215, allocations: 93.92 kB / 381.1 MB, free: 39.85 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.215, allocations: 0 / 381.1 MB, free: 39.85 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000224/0.2153, allocations: 24.78 kB / 381.1 MB, free: 39.85 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.771e-05/0.2153, allocations: 97.41 kB / 381.2 MB, free: 39.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000149/0.2155, allocations: 83.34 kB / 381.3 MB, free: 39.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2155, allocations: 3.938 kB / 381.3 MB, free: 39.71 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.245e-05/0.2156, allocations: 39.77 kB / 381.3 MB, free: 39.7 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.2159, allocations: 22.11 kB / 381.4 MB, free: 39.69 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.2165, allocations: 0.5805 MB / 381.9 MB, free: 39.19 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.2167, allocations: 0.7012 MB / 382.6 MB, free: 38.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.834e-05/0.2167, allocations: 13.91 kB / 382.7 MB, free: 38.48 MB / 298.7 MB Notification: Performance of SimCode: time 3.61e-07/0.2167, allocations: 4 kB / 382.7 MB, free: 38.47 MB / 298.7 MB Notification: Performance of Templates: time 0.002325/0.219, allocations: 1.384 MB / 384.1 MB, free: 37.77 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches