Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia.phi|heatCapacitor.T|eddyCurrentTorque.lossPower",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Rotational.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.000879/0.0008791, allocations: 178.6 kB / 17.36 MB, free: 4.191 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.417/1.417, allocations: 205.6 MB / 223.7 MB, free: 8.938 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.000711/0.0007111, allocations: 86.36 kB / 272.1 MB, free: 8.113 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002334/0.0002334, allocations: 12 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.207, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001723/0.2088, allocations: 1.441 MB / 378 MB, free: 44.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009715/0.2098, allocations: 0.8022 MB / 378.8 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.2099, allocations: 1.906 kB / 378.8 MB, free: 43.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.933e-05/0.21, allocations: 9.172 kB / 378.8 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.508e-05/0.2101, allocations: 28.48 kB / 378.9 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.2103, allocations: 47.11 kB / 378.9 MB, free: 43.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2104, allocations: 120.2 kB / 379 MB, free: 43.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2106, allocations: 26.45 kB / 379.1 MB, free: 43.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.2106, allocations: 35.3 kB / 379.1 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.196e-05/0.2107, allocations: 39.86 kB / 379.1 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.2107, allocations: 4.219 kB / 379.1 MB, free: 43.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.697e-05/0.2108, allocations: 22.08 kB / 379.2 MB, free: 43.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.133e-05/0.2109, allocations: 23.69 kB / 379.2 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.2109, allocations: 71.22 kB / 379.3 MB, free: 43.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.2111, allocations: 126.2 kB / 379.4 MB, free: 43.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2111, allocations: 0 / 379.4 MB, free: 43.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2111, allocations: 0 / 379.4 MB, free: 43.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.2111, allocations: 1.062 kB / 379.4 MB, free: 43.38 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.000385/0.2115, allocations: 386 kB / 379.8 MB, free: 42.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2116, allocations: 8.875 kB / 379.8 MB, free: 42.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.2117, allocations: 24.2 kB / 379.8 MB, free: 42.98 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2119, allocations: 192.4 kB / 380 MB, free: 42.76 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.2119, allocations: 12.77 kB / 380 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.212, allocations: 10.84 kB / 380 MB, free: 42.75 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.2121, allocations: 91.28 kB / 380.1 MB, free: 42.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.2122, allocations: 7.906 kB / 380.1 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2122, allocations: 4.969 kB / 380.1 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2122, allocations: 2.656 kB / 380.1 MB, free: 42.67 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.2123, allocations: 54.97 kB / 380.2 MB, free: 42.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.2129, allocations: 489 kB / 380.6 MB, free: 42.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.2132, allocations: 80.84 kB / 380.7 MB, free: 42.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.569e-05/0.2132, allocations: 28.08 kB / 380.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.2133, allocations: 5 kB / 380.7 MB, free: 42.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.2133, allocations: 31.75 kB / 380.8 MB, free: 42.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.354e-06/0.2133, allocations: 0 / 380.8 MB, free: 42.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002179/0.2135, allocations: 103.2 kB / 380.9 MB, free: 42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.2135, allocations: 56.53 kB / 380.9 MB, free: 41.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.2136, allocations: 120.5 kB / 381.1 MB, free: 41.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.109e-05/0.2136, allocations: 30.86 kB / 381.1 MB, free: 41.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.2137, allocations: 105.1 kB / 381.2 MB, free: 41.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2137, allocations: 34.52 kB / 381.2 MB, free: 41.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.2137, allocations: 5.281 kB / 381.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.2138, allocations: 317.2 kB / 381.5 MB, free: 41.33 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.21e-05/0.2138, allocations: 19.3 kB / 381.6 MB, free: 41.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.596e-05/0.2139, allocations: 57.92 kB / 381.6 MB, free: 41.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.949e-05/0.214, allocations: 80.03 kB / 381.7 MB, free: 41.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.214, allocations: 0 / 381.7 MB, free: 41.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001461/0.2142, allocations: 110.7 kB / 381.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2142, allocations: 6.844 kB / 381.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2142, allocations: 0 / 381.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.2142, allocations: 3.906 kB / 381.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.2143, allocations: 21.98 kB / 381.8 MB, free: 41.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.2143, allocations: 17.31 kB / 381.8 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.2144, allocations: 11.94 kB / 381.9 MB, free: 41.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.2144, allocations: 3.156 kB / 381.9 MB, free: 41.11 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 (13): * Single equations (assignments): 13 * 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.303e-05/0.2145, allocations: 118.2 kB / 382 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.2145, allocations: 7.781 kB / 382 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.2146, allocations: 10.41 kB / 382 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.2146, allocations: 0.9688 kB / 382 MB, free: 40.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2146, allocations: 3.938 kB / 382 MB, free: 40.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2146, allocations: 13 kB / 382 MB, free: 40.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.2148, allocations: 197.8 kB / 382.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2148, allocations: 1.062 kB / 382.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.2149, allocations: 25.77 kB / 382.2 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2149, allocations: 0 / 382.2 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.2149, allocations: 1.188 kB / 382.2 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.2149, allocations: 5.188 kB / 382.2 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2149, allocations: 3.938 kB / 382.2 MB, free: 40.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.2151, allocations: 200.6 kB / 382.4 MB, free: 40.55 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.2152, allocations: 87.64 kB / 382.5 MB, free: 40.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2152, allocations: 5.562 kB / 382.5 MB, free: 40.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.639e-05/0.2153, allocations: 7.969 kB / 382.5 MB, free: 40.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.2153, allocations: 6.75 kB / 382.5 MB, free: 40.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.2153, allocations: 6 kB / 382.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.46e-05/0.2153, allocations: 100.3 kB / 382.6 MB, free: 40.34 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2153, allocations: 0 / 382.6 MB, free: 40.34 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.2156, allocations: 24.78 kB / 382.7 MB, free: 40.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,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 (8): * Single equations (assignments): 8 * 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.22e-05/0.2157, allocations: 110.5 kB / 382.8 MB, free: 40.24 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.2158, allocations: 59.16 kB / 382.8 MB, free: 40.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2158, allocations: 0 / 382.8 MB, free: 40.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.2158, allocations: 28.8 kB / 382.9 MB, free: 40.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.2162, allocations: 17.28 kB / 382.9 MB, free: 40.2 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000665/0.2169, allocations: 0.525 MB / 383.4 MB, free: 39.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.217, allocations: 0.6965 MB / 384.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.335e-05/0.2171, allocations: 10.95 kB / 384.1 MB, free: 39.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.2171, allocations: 12.41 kB / 384.1 MB, free: 39.04 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.2171, allocations: 0 / 384.1 MB, free: 39.04 MB / 298.7 MB Notification: Performance of Templates: time 0.00262/0.2198, allocations: 0.8761 MB / 385 MB, free: 38.59 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches