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.Hysteresis.InductorWithHysteresis.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.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009442/0.0009443, allocations: 180.9 kB / 16.71 MB, free: 4.969 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.223/1.223, allocations: 225.7 MB / 243.2 MB, free: 8.559 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.0007469/0.000747, allocations: 89.75 kB / 294.4 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002709, allocations: 8 kB / 354.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1839, allocations: 50.4 MB / 404.6 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002218/0.1861, allocations: 2.422 MB / 407 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.1875, allocations: 1.267 MB / 408.3 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.1876, allocations: 7.938 kB / 408.3 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1878, allocations: 47.62 kB / 408.3 MB, free: 27.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003654/0.1882, allocations: 190.5 kB / 408.5 MB, free: 27.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.1883, allocations: 112.6 kB / 408.6 MB, free: 27.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.1886, allocations: 434.9 kB / 409 MB, free: 26.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.1888, allocations: 69.09 kB / 409.1 MB, free: 26.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1889, allocations: 164.4 kB / 409.3 MB, free: 26.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1891, allocations: 207.2 kB / 409.5 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.155e-05/0.1892, allocations: 24 kB / 409.5 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.1894, allocations: 135.9 kB / 409.6 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1894, allocations: 71.67 kB / 409.7 MB, free: 26.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1896, allocations: 192.8 kB / 409.9 MB, free: 26.06 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.1899, allocations: 486.2 kB / 410.4 MB, free: 25.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1899, allocations: 0 / 410.4 MB, free: 25.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1899, allocations: 0 / 410.4 MB, free: 25.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1899, allocations: 0 / 410.4 MB, free: 25.58 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001149/0.1911, allocations: 0.651 MB / 411 MB, free: 24.88 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1911, allocations: 12.03 kB / 411 MB, free: 24.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.848e-05/0.1912, allocations: 32.56 kB / 411.1 MB, free: 24.84 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.1915, allocations: 333.3 kB / 411.4 MB, free: 24.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.716e-05/0.1915, allocations: 46.83 kB / 411.4 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.1917, allocations: 48.41 kB / 411.5 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.1922, allocations: 320.5 kB / 411.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1922, allocations: 8 kB / 411.8 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.1922, allocations: 8 kB / 411.8 MB, free: 24.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1922, allocations: 8 kB / 411.8 MB, free: 24.03 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005576/0.1928, allocations: 314 kB / 412.1 MB, free: 23.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1941, allocations: 1.175 MB / 413.3 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.1946, allocations: 301 kB / 413.6 MB, free: 22.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.1948, allocations: 173.6 kB / 413.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1949, allocations: 4 kB / 413.8 MB, free: 21.97 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.1949, allocations: 38.56 kB / 413.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.292e-06/0.1949, allocations: 0 / 413.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.007844/0.2027, allocations: 2.535 MB / 416.3 MB, free: 19.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.2028, allocations: 81.11 kB / 416.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.203, allocations: 284.9 kB / 416.7 MB, free: 18.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.203, allocations: 37.7 kB / 416.7 MB, free: 18.89 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.2031, allocations: 168.4 kB / 416.9 MB, free: 18.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.629e-05/0.2032, allocations: 137.9 kB / 417 MB, free: 18.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.2032, allocations: 12 kB / 417 MB, free: 18.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.2033, allocations: 342.8 kB / 417.4 MB, free: 18.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.2036, allocations: 168.8 kB / 417.5 MB, free: 18.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003489/0.204, allocations: 234.6 kB / 417.8 MB, free: 17.81 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.2046, allocations: 431.5 kB / 418.2 MB, free: 17.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2047, allocations: 0 / 418.2 MB, free: 17.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008065/0.2055, allocations: 0.4965 MB / 418.7 MB, free: 16.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2055, allocations: 8 kB / 418.7 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2055, allocations: 0 / 418.7 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2055, allocations: 4 kB / 418.7 MB, free: 16.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.2061, allocations: 123.8 kB / 418.8 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2061, allocations: 7.984 kB / 418.8 MB, free: 16.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.2064, allocations: 36.02 kB / 418.9 MB, free: 16.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.2065, allocations: 19.98 kB / 418.9 MB, free: 16.67 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001094/0.2066, allocations: 153.7 kB / 419 MB, free: 16.51 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.757e-05/0.2066, allocations: 27.62 kB / 419.1 MB, free: 16.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.2082, allocations: 0.6993 MB / 419.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2082, allocations: 4 kB / 419.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.2083, allocations: 4 kB / 419.8 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2083, allocations: 7.984 kB / 419.8 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.2109, allocations: 1.314 MB / 421.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2109, allocations: 0 / 421.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/0.2113, allocations: 95.88 kB / 421.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.2128, allocations: 284.6 kB / 421.5 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.2129, allocations: 11.98 kB / 421.5 MB, free: 14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003014/0.2159, allocations: 2.276 MB / 423.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2159, allocations: 0 / 423.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.2178, allocations: 1.053 MB / 424.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.2179, allocations: 152.7 kB / 424.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.082e-05/0.218, allocations: 8 kB / 425 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.2184, allocations: 35.97 kB / 425 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.982e-05/0.2185, allocations: 32.39 kB / 425 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.2185, allocations: 15.98 kB / 425 MB, free: 10.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.2187, allocations: 212.5 kB / 425.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2187, allocations: 4 kB / 425.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004151/0.2191, allocations: 115.9 kB / 425.4 MB, free: 9.926 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000189/0.2193, allocations: 155.2 kB / 425.5 MB, free: 9.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007702/0.2201, allocations: 450 kB / 426 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2201, allocations: 0 / 426 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005301/0.2206, allocations: 385.5 kB / 426.3 MB, free: 8.938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.2211, allocations: 49.39 kB / 426.4 MB, free: 8.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2224, allocations: 1.207 MB / 427.6 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.2226, allocations: 0.7855 MB / 428.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.2228, allocations: 46.94 kB / 428.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.2229, allocations: 39.41 kB / 428.5 MB, free: 6.75 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2229, allocations: 0 / 428.5 MB, free: 6.75 MB / 298.7 MB Notification: Performance of Templates: time 0.007901/0.2308, allocations: 5.896 MB / 434.4 MB, free: 0.8711 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches