Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008005/0.0008006, allocations: 175.6 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 225.7 MB / 243.2 MB, free: 8.445 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007588/0.0007589, allocations: 95.81 kB / 294.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002154/0.0002154, allocations: 4 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.184, allocations: 50.42 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.002305/0.1864, allocations: 2.402 MB / 407 MB, free: 28.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.1872, allocations: 0.6986 MB / 407.7 MB, free: 28.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1874, allocations: 4 kB / 407.7 MB, free: 28.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1876, allocations: 55.61 kB / 407.7 MB, free: 28.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001983/0.1878, allocations: 80.64 kB / 407.8 MB, free: 28.05 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.188, allocations: 94.69 kB / 407.9 MB, free: 27.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1882, allocations: 390.3 kB / 408.3 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1884, allocations: 101.4 kB / 408.4 MB, free: 27.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1885, allocations: 146.6 kB / 408.5 MB, free: 27.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1887, allocations: 151.2 kB / 408.7 MB, free: 27.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.1887, allocations: 20 kB / 408.7 MB, free: 27.17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.942e-05/0.1887, allocations: 20 kB / 408.7 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.1888, allocations: 55.7 kB / 408.8 MB, free: 27.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.1889, allocations: 188.8 kB / 409 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.1891, allocations: 376 kB / 409.3 MB, free: 26.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1891, allocations: 0 / 409.3 MB, free: 26.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1891, allocations: 1.062 kB / 409.3 MB, free: 26.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1892, allocations: 0 / 409.3 MB, free: 26.54 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008826/0.19, allocations: 0.6053 MB / 409.9 MB, free: 25.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.1901, allocations: 12.03 kB / 409.9 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.1901, allocations: 40.47 kB / 410 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1904, allocations: 276.6 kB / 410.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1904, allocations: 21.03 kB / 410.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.1905, allocations: 40.25 kB / 410.3 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.1909, allocations: 298.4 kB / 410.6 MB, free: 25.17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.191, allocations: 4 kB / 410.6 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.191, allocations: 12 kB / 410.6 MB, free: 25.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.191, allocations: 11.98 kB / 410.6 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.1915, allocations: 266.5 kB / 410.9 MB, free: 24.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.1928, allocations: 1.128 MB / 412 MB, free: 23.65 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.1931, allocations: 158.5 kB / 412.2 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1933, allocations: 72.83 kB / 412.3 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1933, allocations: 0 / 412.3 MB, free: 23.41 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.1933, allocations: 38.56 kB / 412.3 MB, free: 23.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.1933, allocations: 0 / 412.3 MB, free: 23.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001757/0.1951, allocations: 0.6742 MB / 413 MB, free: 22.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.1951, allocations: 55.41 kB / 413 MB, free: 22.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1953, allocations: 274.6 kB / 413.3 MB, free: 22.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.1953, allocations: 25.7 kB / 413.3 MB, free: 22.3 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.297e-05/0.1954, allocations: 231.5 kB / 413.5 MB, free: 22.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.588e-05/0.1955, allocations: 78.98 kB / 413.6 MB, free: 22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.1955, allocations: 4 kB / 413.6 MB, free: 21.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.14e-05/0.1955, allocations: 338.8 kB / 413.9 MB, free: 21.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.1958, allocations: 107.9 kB / 414.1 MB, free: 21.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.1961, allocations: 211.9 kB / 414.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.1966, allocations: 324 kB / 414.6 MB, free: 20.94 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1966, allocations: 0 / 414.6 MB, free: 20.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006857/0.1973, allocations: 415.8 kB / 415 MB, free: 20.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1973, allocations: 13.41 kB / 415 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1973, allocations: 4 kB / 415 MB, free: 20.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.1975, allocations: 61.61 kB / 415.1 MB, free: 20.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.1978, allocations: 83.89 kB / 415.1 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.1991, allocations: 2.632 MB / 417.8 MB, free: 17.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.1993, allocations: 32.11 kB / 417.8 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.1994, allocations: 12 kB / 417.8 MB, free: 17.42 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.1995, allocations: 157.7 kB / 418 MB, free: 17.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.1995, allocations: 31.56 kB / 418 MB, free: 17.22 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.1996, allocations: 34.17 kB / 418 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1996, allocations: 4 kB / 418 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1996, allocations: 0 / 418 MB, free: 17.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1996, allocations: 7.984 kB / 418 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002582/0.1999, allocations: 325.5 kB / 418.4 MB, free: 16.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1999, allocations: 0 / 418.4 MB, free: 16.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.2001, allocations: 43.95 kB / 418.4 MB, free: 16.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.2002, allocations: 61.75 kB / 418.5 MB, free: 16.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.2003, allocations: 15.92 kB / 418.5 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.2014, allocations: 2.628 MB / 421.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2014, allocations: 0 / 421.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.202, allocations: 399.9 kB / 421.5 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.202, allocations: 100.7 kB / 421.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.2021, allocations: 7.984 kB / 421.6 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2022, allocations: 23.98 kB / 421.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.509e-05/0.2023, allocations: 15.97 kB / 421.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.2023, allocations: 8 kB / 421.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001327/0.2025, allocations: 198 kB / 421.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2025, allocations: 0 / 421.8 MB, free: 13.02 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003096/0.2028, allocations: 72 kB / 421.9 MB, free: 12.95 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.938e-05/0.2029, allocations: 115.2 kB / 422 MB, free: 12.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000736/0.2036, allocations: 497.8 kB / 422.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2036, allocations: 128 / 422.5 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003769/0.204, allocations: 365.2 kB / 422.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.2043, allocations: 36.42 kB / 422.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007895/0.2051, allocations: 0.7029 MB / 423.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.2053, allocations: 0.7791 MB / 424.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.2054, allocations: 38.22 kB / 424.4 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.2055, allocations: 19.44 kB / 424.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2055, allocations: 0 / 424.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Templates: time 0.004602/0.2101, allocations: 2.558 MB / 427 MB, free: 7.75 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches