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.001045/0.001045, allocations: 187 kB / 17.92 MB, free: 3.852 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.213/1.213, allocations: 205.1 MB / 223.7 MB, free: 8.5 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.0009866/0.0009869, allocations: 95.88 kB / 271.2 MB, free: 8.453 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 43.94 kB / 327.2 MB, free: 348 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2078, allocations: 46.62 MB / 373.8 MB, free: 45.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00299/0.2109, allocations: 1.833 MB / 375.6 MB, free: 44.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.2119, allocations: 0.6739 MB / 376.3 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.212, allocations: 6.281 kB / 376.3 MB, free: 43.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.75e-05/0.2121, allocations: 17.16 kB / 376.3 MB, free: 43.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.2122, allocations: 28.45 kB / 376.4 MB, free: 43.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.2124, allocations: 36.17 kB / 376.4 MB, free: 43.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.2125, allocations: 121.1 kB / 376.5 MB, free: 43.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.141e-05/0.2126, allocations: 28.3 kB / 376.6 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.414e-05/0.2126, allocations: 36.58 kB / 376.6 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.297e-05/0.2127, allocations: 52.23 kB / 376.6 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.2127, allocations: 4.594 kB / 376.6 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.174e-05/0.2128, allocations: 23.83 kB / 376.7 MB, free: 43.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.3e-05/0.2129, allocations: 10.34 kB / 376.7 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.2129, allocations: 54.58 kB / 376.7 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.2131, allocations: 126 kB / 376.9 MB, free: 43.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2131, allocations: 5.312 kB / 376.9 MB, free: 43.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.2131, allocations: 3.938 kB / 376.9 MB, free: 43.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.2131, allocations: 0 / 376.9 MB, free: 43.55 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.000432/0.2136, allocations: 417.6 kB / 377.3 MB, free: 43.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2136, allocations: 9.969 kB / 377.3 MB, free: 43.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001769/0.2138, allocations: 23.8 kB / 377.3 MB, free: 43.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2139, allocations: 189 kB / 377.5 MB, free: 42.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2139, allocations: 11.84 kB / 377.5 MB, free: 42.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.214, allocations: 11.09 kB / 377.5 MB, free: 42.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.2141, allocations: 95.81 kB / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2142, allocations: 1.125 kB / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.2142, allocations: 7.984 kB / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2142, allocations: 2.375 kB / 377.6 MB, free: 42.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.2143, allocations: 58.34 kB / 377.7 MB, free: 42.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.2148, allocations: 452.9 kB / 378.1 MB, free: 42.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.2151, allocations: 100.5 kB / 378.2 MB, free: 42.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.2151, allocations: 32 kB / 378.2 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2152, allocations: 2.219 kB / 378.2 MB, free: 42.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.201e-05/0.2152, allocations: 43.56 kB / 378.3 MB, free: 42.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.2152, allocations: 0 / 378.3 MB, free: 42.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001115/0.2163, allocations: 0.5265 MB / 378.8 MB, free: 41.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/0.2163, allocations: 56.5 kB / 378.9 MB, free: 41.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.763e-05/0.2164, allocations: 125.7 kB / 379 MB, free: 41.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-06/0.2164, allocations: 30.64 kB / 379 MB, free: 41.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.2165, allocations: 104.3 kB / 379.1 MB, free: 41.45 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.2165, allocations: 44.36 kB / 379.2 MB, free: 41.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.2165, allocations: 28.28 kB / 379.2 MB, free: 41.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.29e-05/0.2166, allocations: 325.1 kB / 379.5 MB, free: 41.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.2166, allocations: 31.14 kB / 379.5 MB, free: 41.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.13e-05/0.2167, allocations: 61.89 kB / 379.6 MB, free: 41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.2168, allocations: 92.58 kB / 379.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2168, allocations: 4 kB / 379.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001707/0.217, allocations: 135 kB / 379.8 MB, free: 40.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.217, allocations: 5.562 kB / 379.8 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2171, allocations: 1.188 kB / 379.8 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2171, allocations: 1.062 kB / 379.8 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.2172, allocations: 29.45 kB / 379.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2172, allocations: 6.094 kB / 379.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.2173, allocations: 10.19 kB / 379.9 MB, free: 40.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.2173, allocations: 4.531 kB / 379.9 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.713e-05/0.2174, allocations: 126.4 kB / 380 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.2174, allocations: 8.531 kB / 380 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.2174, allocations: 18.61 kB / 380 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2175, allocations: 1.156 kB / 380 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2175, allocations: 0 / 380 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2175, allocations: 5.125 kB / 380 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.2179, allocations: 434.8 kB / 380.5 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2179, allocations: 1.406 kB / 380.5 MB, free: 40.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.218, allocations: 26.27 kB / 380.5 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.218, allocations: 5.312 kB / 380.5 MB, free: 40.26 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.218, allocations: 6.312 kB / 380.5 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2181, allocations: 1.125 kB / 380.5 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2181, allocations: 1.156 kB / 380.5 MB, free: 40.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.2196, allocations: 1.43 MB / 381.9 MB, free: 38.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.2196, allocations: 87.64 kB / 382 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2196, allocations: 6.219 kB / 382 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.974e-05/0.2197, allocations: 1.062 kB / 382 MB, free: 38.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.2198, allocations: 12.61 kB / 382 MB, free: 38.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.2198, allocations: 2.719 kB / 382 MB, free: 38.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.299e-05/0.2198, allocations: 99.95 kB / 382.1 MB, free: 38.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2198, allocations: 1.469 kB / 382.1 MB, free: 38.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.2201, allocations: 35.34 kB / 382.2 MB, free: 38.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.329e-05/0.2202, allocations: 98.55 kB / 382.3 MB, free: 38.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.2204, allocations: 79.2 kB / 382.4 MB, free: 38.61 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2204, allocations: 1.531 kB / 382.4 MB, free: 38.61 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.211e-05/0.2204, allocations: 46.77 kB / 382.4 MB, free: 38.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.2207, allocations: 21.61 kB / 382.4 MB, free: 38.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.2214, allocations: 0.6378 MB / 383.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.2216, allocations: 0.7029 MB / 383.8 MB, free: 37.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.535e-05/0.2216, allocations: 15.38 kB / 383.8 MB, free: 37.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.2217, allocations: 13.97 kB / 383.8 MB, free: 37.3 MB / 298.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2217, allocations: 0 / 383.8 MB, free: 37.3 MB / 298.7 MB Notification: Performance of Templates: time 0.00337/0.2251, allocations: 1.484 MB / 385.3 MB, free: 36.55 MB / 298.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@2/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