Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008867/0.0008868, allocations: 177.9 kB / 17.36 MB, free: 4.316 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.6 MB / 223.7 MB, free: 8.965 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007186/0.0007185, allocations: 90.36 kB / 272.1 MB, free: 8.137 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002503, allocations: 11.94 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2227, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.001836/0.2246, allocations: 1.456 MB / 378.1 MB, free: 44.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.2255, allocations: 0.7909 MB / 378.8 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.805e-05/0.2256, allocations: 5.156 kB / 378.8 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.2257, allocations: 17.67 kB / 378.9 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.2258, allocations: 32.2 kB / 378.9 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001946/0.226, allocations: 35.73 kB / 378.9 MB, free: 43.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2262, allocations: 117.1 kB / 379 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2263, allocations: 28.34 kB / 379.1 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.2263, allocations: 34.98 kB / 379.1 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.2264, allocations: 48 kB / 379.2 MB, free: 43.53 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.2265, allocations: 3.719 kB / 379.2 MB, free: 43.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.591e-05/0.2266, allocations: 22.83 kB / 379.2 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.2266, allocations: 15.73 kB / 379.2 MB, free: 43.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.363e-05/0.2266, allocations: 75.28 kB / 379.3 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.2268, allocations: 130.4 kB / 379.4 MB, free: 43.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2268, allocations: 0 / 379.4 MB, free: 43.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2269, allocations: 1.062 kB / 379.4 MB, free: 43.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.2269, allocations: 0 / 379.4 MB, free: 43.36 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.0004892/0.2274, allocations: 391.5 kB / 379.8 MB, free: 42.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.2274, allocations: 9.531 kB / 379.8 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.2276, allocations: 24.36 kB / 379.8 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2277, allocations: 196.6 kB / 380 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.2278, allocations: 8.188 kB / 380 MB, free: 42.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.2278, allocations: 14.66 kB / 380 MB, free: 42.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.228, allocations: 91.41 kB / 380.1 MB, free: 42.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.228, allocations: 4.938 kB / 380.1 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.228, allocations: 4.688 kB / 380.1 MB, free: 42.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.228, allocations: 6.297 kB / 380.1 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.2282, allocations: 56.56 kB / 380.2 MB, free: 42.62 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.2288, allocations: 455.2 kB / 380.6 MB, free: 42.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.229, allocations: 106.9 kB / 380.7 MB, free: 42.12 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.2291, allocations: 27.3 kB / 380.8 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.2291, allocations: 5.172 kB / 380.8 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2291, allocations: 35.66 kB / 380.8 MB, free: 42.06 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2291, allocations: 1.156 kB / 380.8 MB, free: 42.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.00114/0.2303, allocations: 0.531 MB / 381.3 MB, free: 41.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/0.2303, allocations: 52.78 kB / 381.4 MB, free: 41.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.051e-05/0.2304, allocations: 129.8 kB / 381.5 MB, free: 41.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.2304, allocations: 30.92 kB / 381.5 MB, free: 41.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.2305, allocations: 104.5 kB / 381.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.2305, allocations: 39.92 kB / 381.7 MB, free: 41.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.2305, allocations: 2.625 kB / 381.7 MB, free: 41.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.56e-05/0.2305, allocations: 315.7 kB / 382 MB, free: 40.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.631e-05/0.2306, allocations: 40.39 kB / 382 MB, free: 40.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.2307, allocations: 64 kB / 382.1 MB, free: 40.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.2308, allocations: 89.44 kB / 382.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2308, allocations: 0 / 382.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000176/0.231, allocations: 130.1 kB / 382.3 MB, free: 40.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.231, allocations: 9.844 kB / 382.3 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.231, allocations: 0 / 382.3 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.231, allocations: 1.938 kB / 382.3 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2312, allocations: 33.36 kB / 382.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2312, allocations: 2.625 kB / 382.4 MB, free: 40.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.469e-05/0.2313, allocations: 14.62 kB / 382.4 MB, free: 40.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2313, allocations: 2.781 kB / 382.4 MB, free: 40.68 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 6.041e-05/0.2313, allocations: 124.9 kB / 382.5 MB, free: 40.55 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.2314, allocations: 12.03 kB / 382.5 MB, free: 40.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.2314, allocations: 15.03 kB / 382.5 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.2314, allocations: 1.344 kB / 382.5 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2314, allocations: 0 / 382.5 MB, free: 40.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2314, allocations: 7.875 kB / 382.5 MB, free: 40.53 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.2319, allocations: 420.1 kB / 382.9 MB, free: 40.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2319, allocations: 9.5 kB / 383 MB, free: 40.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.232, allocations: 34.3 kB / 383 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.232, allocations: 5.312 kB / 383 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.232, allocations: 5.453 kB / 383 MB, free: 40.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2321, allocations: 5.469 kB / 383 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2321, allocations: 1.312 kB / 383 MB, free: 40.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.2323, allocations: 252.3 kB / 383.3 MB, free: 39.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.2323, allocations: 83.67 kB / 383.3 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.2323, allocations: 13.28 kB / 383.3 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.2324, allocations: 2.625 kB / 383.3 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.2325, allocations: 4.125 kB / 383.4 MB, free: 39.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.2325, allocations: 6.312 kB / 383.4 MB, free: 39.78 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.68e-05/0.2325, allocations: 97.98 kB / 383.5 MB, free: 39.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2325, allocations: 0 / 383.5 MB, free: 39.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.2328, allocations: 25.22 kB / 383.5 MB, free: 39.69 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 8.993e-05/0.2329, allocations: 107.4 kB / 383.6 MB, free: 39.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001602/0.233, allocations: 82.73 kB / 383.7 MB, free: 39.56 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.233, allocations: 1.344 kB / 383.7 MB, free: 39.56 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/0.2331, allocations: 42.55 kB / 383.7 MB, free: 39.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.2335, allocations: 20.95 kB / 383.7 MB, free: 39.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/0.2342, allocations: 0.5582 MB / 384.3 MB, free: 39.06 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.2343, allocations: 0.7056 MB / 385 MB, free: 38.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.914e-05/0.2344, allocations: 10.72 kB / 385 MB, free: 38.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.2344, allocations: 12.94 kB / 385 MB, free: 38.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2344, allocations: 4 kB / 385 MB, free: 38.33 MB / 298.7 MB Notification: Performance of Templates: time 0.003146/0.2376, allocations: 1.044 MB / 386.1 MB, free: 37.81 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/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