Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008164/0.0008164, allocations: 178.5 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.193/1.193, allocations: 225.7 MB / 243.2 MB, free: 8.434 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.0007702/0.0007703, allocations: 92.69 kB / 294.4 MB, free: 9.492 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002553, allocations: 7.938 kB / 354.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2019, allocations: 50.41 MB / 404.6 MB, free: 31.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002496/0.2044, allocations: 2.796 MB / 407.4 MB, free: 28.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.2062, allocations: 1.977 MB / 409.4 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.2064, allocations: 4 kB / 409.4 MB, free: 26.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.2067, allocations: 124.4 kB / 409.5 MB, free: 26.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000805/0.2075, allocations: 0.7885 MB / 410.3 MB, free: 25.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.2078, allocations: 215.8 kB / 410.5 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004194/0.2083, allocations: 434.1 kB / 410.9 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2084, allocations: 119.8 kB / 411 MB, free: 24.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.2086, allocations: 139.4 kB / 411.2 MB, free: 24.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.2088, allocations: 183.2 kB / 411.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.2088, allocations: 23.94 kB / 411.4 MB, free: 24.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.209, allocations: 139.9 kB / 411.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.2091, allocations: 59.7 kB / 411.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.2092, allocations: 204.7 kB / 411.8 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.2096, allocations: 0.5074 MB / 412.3 MB, free: 23.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2096, allocations: 4 kB / 412.3 MB, free: 23.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2096, allocations: 0 / 412.3 MB, free: 23.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.2097, allocations: 0 / 412.3 MB, free: 23.31 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001056/0.2107, allocations: 0.6838 MB / 412.9 MB, free: 22.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.2108, allocations: 12.03 kB / 413 MB, free: 22.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005042/0.2113, allocations: 100.4 kB / 413.1 MB, free: 22.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.2116, allocations: 300.5 kB / 413.3 MB, free: 22.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2116, allocations: 25.38 kB / 413.4 MB, free: 22.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.2116, allocations: 36.38 kB / 413.4 MB, free: 22.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.2121, allocations: 357.6 kB / 413.8 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2122, allocations: 4 kB / 413.8 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.2122, allocations: 12 kB / 413.8 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.2122, allocations: 8 kB / 413.8 MB, free: 21.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003943/0.2126, allocations: 254.1 kB / 414 MB, free: 21.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.2141, allocations: 1.339 MB / 415.4 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.2145, allocations: 189.1 kB / 415.6 MB, free: 19.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.2146, allocations: 93.67 kB / 415.6 MB, free: 19.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/0.2151, allocations: 0.8753 MB / 416.5 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.2152, allocations: 38.5 kB / 416.6 MB, free: 18.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.212e-06/0.2152, allocations: 4 kB / 416.6 MB, free: 18.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004589/0.2156, allocations: 225.3 kB / 416.8 MB, free: 18.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.2157, allocations: 81.05 kB / 416.9 MB, free: 18.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.2159, allocations: 287 kB / 417.1 MB, free: 18.06 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.2159, allocations: 33.7 kB / 417.2 MB, free: 18.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.201e-05/0.216, allocations: 235.4 kB / 417.4 MB, free: 17.79 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.2161, allocations: 63.09 kB / 417.5 MB, free: 17.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.2161, allocations: 4 kB / 417.5 MB, free: 17.72 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.977e-05/0.2161, allocations: 338.8 kB / 417.8 MB, free: 17.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.2163, allocations: 68.62 kB / 417.9 MB, free: 17.31 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.2164, allocations: 214.3 kB / 418.1 MB, free: 17.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.2168, allocations: 296.9 kB / 418.4 MB, free: 16.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2168, allocations: 4 kB / 418.4 MB, free: 16.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004186/0.2172, allocations: 325.3 kB / 418.7 MB, free: 16.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2172, allocations: 8 kB / 418.7 MB, free: 16.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2172, allocations: 4 kB / 418.7 MB, free: 16.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2172, allocations: 8 kB / 418.7 MB, free: 16.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.2175, allocations: 79.84 kB / 418.8 MB, free: 16.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.2175, allocations: 15.92 kB / 418.8 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.2177, allocations: 43.97 kB / 418.8 MB, free: 16.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.2177, allocations: 20 kB / 418.9 MB, free: 16.19 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.2179, allocations: 152.3 kB / 419 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.2179, allocations: 27.66 kB / 419 MB, free: 16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.218, allocations: 33.73 kB / 419.1 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.218, allocations: 11.92 kB / 419.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.218, allocations: 3.984 kB / 419.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.218, allocations: 0 / 419.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004898/0.2185, allocations: 0.5147 MB / 419.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2185, allocations: 0 / 419.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.2187, allocations: 51.84 kB / 419.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2187, allocations: 0 / 419.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2187, allocations: 8 kB / 419.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2187, allocations: 4.031 kB / 419.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2188, allocations: 0 / 419.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004023/0.2192, allocations: 423.2 kB / 420.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.2192, allocations: 108.8 kB / 420.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2193, allocations: 4 kB / 420.2 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.2195, allocations: 15.98 kB / 420.2 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.2195, allocations: 19.86 kB / 420.2 MB, free: 14.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2195, allocations: 12.06 kB / 420.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.2197, allocations: 194 kB / 420.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2197, allocations: 0 / 420.4 MB, free: 14.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003447/0.22, allocations: 83.69 kB / 420.5 MB, free: 14.44 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * 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 0.0001389/0.2202, allocations: 123.2 kB / 420.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003285/0.2205, allocations: 188.4 kB / 420.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2205, allocations: 384 / 420.8 MB, free: 14.12 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.2206, allocations: 76.34 kB / 420.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.221, allocations: 28.83 kB / 420.9 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.2219, allocations: 0.8576 MB / 421.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/0.2221, allocations: 0.7755 MB / 422.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.2222, allocations: 34.95 kB / 422.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.2223, allocations: 27.42 kB / 422.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2223, allocations: 0 / 422.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Templates: time 0.004538/0.2268, allocations: 2.172 MB / 424.8 MB, free: 10.1 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches