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.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008718/0.000872, allocations: 177.9 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.204/1.204, allocations: 225.7 MB / 243.2 MB, free: 8.496 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.000725/0.0007251, allocations: 89.61 kB / 294.4 MB, free: 9.527 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002466, allocations: 8 kB / 354.2 MB, free: 13.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1892, allocations: 50.41 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002108/0.1914, allocations: 2.371 MB / 406.9 MB, free: 28.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007841/0.1922, allocations: 0.6988 MB / 407.6 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1923, allocations: 4 kB / 407.7 MB, free: 28.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.1925, allocations: 51.61 kB / 407.7 MB, free: 28.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001988/0.1927, allocations: 80.5 kB / 407.8 MB, free: 28.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001899/0.1929, allocations: 93.94 kB / 407.9 MB, free: 28.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.1931, allocations: 375.2 kB / 408.2 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1933, allocations: 107.7 kB / 408.3 MB, free: 27.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1934, allocations: 131.4 kB / 408.5 MB, free: 27.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1936, allocations: 155.2 kB / 408.6 MB, free: 27.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.1936, allocations: 16 kB / 408.6 MB, free: 27.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.8e-05/0.1937, allocations: 20 kB / 408.7 MB, free: 27.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.864e-05/0.1937, allocations: 51.77 kB / 408.7 MB, free: 27.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1938, allocations: 183.2 kB / 408.9 MB, free: 27.03 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.194, allocations: 376 kB / 409.3 MB, free: 26.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.194, allocations: 0 / 409.3 MB, free: 26.66 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1941, allocations: 3.938 kB / 409.3 MB, free: 26.66 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1941, allocations: 0 / 409.3 MB, free: 26.66 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.0008074/0.1949, allocations: 0.6014 MB / 409.9 MB, free: 26.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.1949, allocations: 8.031 kB / 409.9 MB, free: 26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.195, allocations: 44.47 kB / 409.9 MB, free: 25.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.1952, allocations: 267.7 kB / 410.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1952, allocations: 21.03 kB / 410.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1953, allocations: 32.38 kB / 410.2 MB, free: 25.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004777/0.1957, allocations: 302.3 kB / 410.5 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1958, allocations: 4 kB / 410.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.1958, allocations: 8 kB / 410.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1958, allocations: 8 kB / 410.5 MB, free: 25.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.1963, allocations: 266.5 kB / 410.8 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.1976, allocations: 1.128 MB / 411.9 MB, free: 23.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1979, allocations: 162.4 kB / 412.1 MB, free: 23.63 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.1981, allocations: 68.83 kB / 412.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.1981, allocations: 0 / 412.2 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.1981, allocations: 42.55 kB / 412.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.012e-06/0.1981, allocations: 0 / 412.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001683/0.1998, allocations: 0.6712 MB / 412.9 MB, free: 22.83 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.1999, allocations: 55.41 kB / 412.9 MB, free: 22.76 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.2, allocations: 258.6 kB / 413.2 MB, free: 22.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.2001, allocations: 29.7 kB / 413.2 MB, free: 22.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.2001, allocations: 231.4 kB / 413.4 MB, free: 22.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.2002, allocations: 78.94 kB / 413.5 MB, free: 22.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.2002, allocations: 4 kB / 413.5 MB, free: 22.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.327e-05/0.2002, allocations: 334.8 kB / 413.8 MB, free: 21.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.2005, allocations: 103.9 kB / 413.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.2008, allocations: 204.1 kB / 414.1 MB, free: 21.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.2013, allocations: 319.5 kB / 414.4 MB, free: 21.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.2013, allocations: 4 kB / 414.5 MB, free: 21.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006718/0.2019, allocations: 411.7 kB / 414.9 MB, free: 20.7 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.202, allocations: 8 kB / 414.9 MB, free: 20.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.202, allocations: 7.984 kB / 414.9 MB, free: 20.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.2022, allocations: 53.69 kB / 414.9 MB, free: 20.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.2025, allocations: 83.83 kB / 415 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.2036, allocations: 2.636 MB / 417.6 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.2039, allocations: 31.92 kB / 417.7 MB, free: 17.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.2039, allocations: 12 kB / 417.7 MB, free: 17.6 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.0001052/0.204, allocations: 161.7 kB / 417.8 MB, free: 17.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.2041, allocations: 31.66 kB / 417.9 MB, free: 17.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.2041, allocations: 30.17 kB / 417.9 MB, free: 17.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2041, allocations: 4 kB / 417.9 MB, free: 17.37 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.2041, allocations: 0 / 417.9 MB, free: 17.37 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2041, allocations: 0 / 417.9 MB, free: 17.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002404/0.2044, allocations: 329.5 kB / 418.2 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2044, allocations: 0 / 418.2 MB, free: 17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.2046, allocations: 52.05 kB / 418.3 MB, free: 16.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/0.2047, allocations: 65.53 kB / 418.3 MB, free: 16.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2047, allocations: 0 / 418.3 MB, free: 16.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.2058, allocations: 2.632 MB / 421 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2058, allocations: 0 / 421 MB, free: 13.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.2064, allocations: 395.5 kB / 421.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.2064, allocations: 100.8 kB / 421.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.2064, allocations: 8 kB / 421.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001875/0.2066, allocations: 19.98 kB / 421.5 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.2067, allocations: 27.91 kB / 421.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.2067, allocations: 4 kB / 421.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.2068, allocations: 186 kB / 421.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2068, allocations: 0 / 421.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.2072, allocations: 72 kB / 421.8 MB, free: 13.15 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 7.587e-05/0.2072, allocations: 111.2 kB / 421.9 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007179/0.208, allocations: 0.4899 MB / 422.4 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.208, allocations: 4.062 kB / 422.4 MB, free: 12.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.2084, allocations: 353.3 kB / 422.7 MB, free: 12.14 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2087, allocations: 28.5 kB / 422.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007894/0.2095, allocations: 0.7088 MB / 423.5 MB, free: 11.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.2097, allocations: 0.7791 MB / 424.2 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.2098, allocations: 34.27 kB / 424.3 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.2099, allocations: 19.44 kB / 424.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2099, allocations: 0 / 424.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of Templates: time 0.004648/0.2145, allocations: 2.493 MB / 426.8 MB, free: 8.031 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches