Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009405/0.0009407, allocations: 192.4 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007948/0.0007948, allocations: 94.47 kB / 299.8 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002772, allocations: 4 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.2, allocations: 51.41 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.001339/0.2014, allocations: 1.461 MB / 413.5 MB, free: 24.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007612/0.2022, allocations: 0.936 MB / 414.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.2023, allocations: 4 kB / 414.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.824e-05/0.2024, allocations: 11.86 kB / 414.5 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.2025, allocations: 34.94 kB / 414.5 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.2026, allocations: 39.89 kB / 414.5 MB, free: 23.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.2027, allocations: 119.4 kB / 414.6 MB, free: 23.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.2028, allocations: 20 kB / 414.7 MB, free: 23.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.051e-05/0.2029, allocations: 35.86 kB / 414.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.074e-05/0.203, allocations: 43.78 kB / 414.7 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.203, allocations: 6.5 kB / 414.8 MB, free: 23.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.089e-05/0.2031, allocations: 23.97 kB / 414.8 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.2031, allocations: 11.94 kB / 414.8 MB, free: 23.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.2031, allocations: 77.44 kB / 414.9 MB, free: 23.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2033, allocations: 113.2 kB / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2033, allocations: 0 / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2033, allocations: 3.938 kB / 415 MB, free: 22.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.2033, allocations: 4 kB / 415 MB, free: 22.9 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.0003667/0.2037, allocations: 383.5 kB / 415.4 MB, free: 22.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.2037, allocations: 8.031 kB / 415.4 MB, free: 22.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.2039, allocations: 28.73 kB / 415.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.204, allocations: 204.1 kB / 415.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.2041, allocations: 4.562 kB / 415.6 MB, free: 22.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.2041, allocations: 12.38 kB / 415.6 MB, free: 22.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.2042, allocations: 99.84 kB / 415.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2043, allocations: 0 / 415.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.2043, allocations: 0 / 415.7 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2043, allocations: 11.92 kB / 415.7 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2044, allocations: 55.97 kB / 415.8 MB, free: 22.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005546/0.205, allocations: 497 kB / 416.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.2052, allocations: 86.62 kB / 416.3 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.714e-05/0.2052, allocations: 20.86 kB / 416.4 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.2052, allocations: 4 kB / 416.4 MB, free: 21.36 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.2053, allocations: 42.5 kB / 416.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.2053, allocations: 0 / 416.4 MB, free: 21.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001808/0.2055, allocations: 89.67 kB / 416.5 MB, free: 21.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.2055, allocations: 59.34 kB / 416.6 MB, free: 21.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.492e-05/0.2055, allocations: 117.8 kB / 416.7 MB, free: 21.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/0.2056, allocations: 25.7 kB / 416.7 MB, free: 20.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.2056, allocations: 115.8 kB / 416.8 MB, free: 20.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/0.2056, allocations: 31.55 kB / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.2056, allocations: 0 / 416.8 MB, free: 20.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.729e-05/0.2057, allocations: 322.8 kB / 417.2 MB, free: 20.51 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.2057, allocations: 20 kB / 417.2 MB, free: 20.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.2058, allocations: 55.36 kB / 417.2 MB, free: 20.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.2059, allocations: 79.52 kB / 417.3 MB, free: 20.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2059, allocations: 3.938 kB / 417.3 MB, free: 20.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001283/0.206, allocations: 109.5 kB / 417.4 MB, free: 20.22 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.206, allocations: 8 kB / 417.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.206, allocations: 0 / 417.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.206, allocations: 0 / 417.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2062, allocations: 31.92 kB / 417.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2062, allocations: 3.938 kB / 417.5 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.2063, allocations: 4 kB / 417.5 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2063, allocations: 12.09 kB / 417.5 MB, free: 20.16 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 5.455e-05/0.2063, allocations: 121.8 kB / 417.6 MB, free: 20.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.2064, allocations: 11.84 kB / 417.6 MB, free: 20.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.2064, allocations: 12.38 kB / 417.6 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2064, allocations: 0 / 417.6 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2064, allocations: 7.938 kB / 417.6 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-06/0.2064, allocations: 0 / 417.6 MB, free: 20 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2066, allocations: 201.5 kB / 417.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2066, allocations: 0 / 417.8 MB, free: 19.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2067, allocations: 20 kB / 417.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2067, allocations: 4 kB / 417.8 MB, free: 19.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.2067, allocations: 3.984 kB / 417.8 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2067, allocations: 0 / 417.8 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2067, allocations: 4.25 kB / 417.9 MB, free: 19.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000162/0.2069, allocations: 203.4 kB / 418 MB, free: 19.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.2069, allocations: 88.95 kB / 418.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.207, allocations: 0 / 418.1 MB, free: 19.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.207, allocations: 12 kB / 418.1 MB, free: 19.39 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.2071, allocations: 7.969 kB / 418.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.2071, allocations: 4.094 kB / 418.2 MB, free: 19.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.785e-05/0.2071, allocations: 87.28 kB / 418.2 MB, free: 19.29 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2071, allocations: 0 / 418.2 MB, free: 19.29 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000215/0.2073, allocations: 27.91 kB / 418.3 MB, free: 19.26 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 7.266e-05/0.2074, allocations: 111.2 kB / 418.4 MB, free: 19.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.2075, allocations: 67.91 kB / 418.4 MB, free: 19.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2075, allocations: 0 / 418.4 MB, free: 19.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.54e-05/0.2076, allocations: 31.92 kB / 418.5 MB, free: 19.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.2079, allocations: 12.28 kB / 418.5 MB, free: 19.04 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005745/0.2085, allocations: 0.5283 MB / 419 MB, free: 18.47 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.384e-05/0.2086, allocations: 0.6965 MB / 419.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.853e-05/0.2086, allocations: 8.438 kB / 419.7 MB, free: 17.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.2087, allocations: 11.44 kB / 419.7 MB, free: 17.73 MB / 298.7 MB Notification: Performance of SimCode: time 3.2e-07/0.2087, allocations: 4 kB / 419.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of Templates: time 0.002486/0.2112, allocations: 0.8637 MB / 420.6 MB, free: 16.87 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches