Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 177.6 kB / 17.36 MB, free: 4.168 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007105/0.0007105, allocations: 90.86 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002239/0.0002239, allocations: 4 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 47.59 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002467/0.1977, allocations: 2.764 MB / 379.4 MB, free: 43.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1996, allocations: 2.019 MB / 381.4 MB, free: 41.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.1998, allocations: 11.75 kB / 381.4 MB, free: 41.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003335/0.2001, allocations: 116 kB / 381.5 MB, free: 41.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006939/0.2008, allocations: 0.5471 MB / 382.1 MB, free: 40.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.2012, allocations: 470.6 kB / 382.5 MB, free: 40.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004446/0.2017, allocations: 421.3 kB / 382.9 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.2019, allocations: 123.1 kB / 383.1 MB, free: 40.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.2021, allocations: 144.2 kB / 383.2 MB, free: 40.04 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2023, allocations: 178.5 kB / 383.4 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.831e-05/0.2023, allocations: 18.38 kB / 383.4 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.2026, allocations: 132.8 kB / 383.5 MB, free: 39.88 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.2026, allocations: 70.56 kB / 383.6 MB, free: 39.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.2028, allocations: 202.5 kB / 383.8 MB, free: 39.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.2032, allocations: 0.5034 MB / 384.3 MB, free: 39.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2033, allocations: 0 / 384.3 MB, free: 39.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2033, allocations: 1.406 kB / 384.3 MB, free: 39.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2033, allocations: 4 kB / 384.3 MB, free: 39.3 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.001078/0.2044, allocations: 0.676 MB / 385 MB, free: 38.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2044, allocations: 13.75 kB / 385 MB, free: 38.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005268/0.2049, allocations: 96.22 kB / 385.1 MB, free: 38.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.2052, allocations: 312.5 kB / 385.4 MB, free: 38.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.2053, allocations: 27.28 kB / 385.4 MB, free: 38.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.2053, allocations: 34.34 kB / 385.4 MB, free: 38.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.2059, allocations: 361.8 kB / 385.8 MB, free: 38.12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2059, allocations: 0 / 385.8 MB, free: 38.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.2059, allocations: 11.47 kB / 385.8 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.206, allocations: 8.375 kB / 385.8 MB, free: 38.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.2064, allocations: 254.5 kB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.2082, allocations: 1.331 MB / 387.4 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.2085, allocations: 205.4 kB / 387.6 MB, free: 36.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.2087, allocations: 88.72 kB / 387.7 MB, free: 36.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005864/0.2093, allocations: 0.8756 MB / 388.6 MB, free: 35.76 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.2093, allocations: 37.25 kB / 388.6 MB, free: 35.71 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.2093, allocations: 0 / 388.6 MB, free: 35.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005027/0.2098, allocations: 227 kB / 388.8 MB, free: 35.6 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.2098, allocations: 87.83 kB / 388.9 MB, free: 35.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.2101, allocations: 282.8 kB / 389.2 MB, free: 35.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2101, allocations: 33.7 kB / 389.2 MB, free: 35.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.136e-05/0.2102, allocations: 235.4 kB / 389.4 MB, free: 34.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.2102, allocations: 67.09 kB / 389.5 MB, free: 34.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.2102, allocations: 8 kB / 389.5 MB, free: 34.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.2103, allocations: 334.8 kB / 389.8 MB, free: 34.55 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.2104, allocations: 76.61 kB / 389.9 MB, free: 34.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.2106, allocations: 206.3 kB / 390.1 MB, free: 34.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.211, allocations: 296.9 kB / 390.4 MB, free: 33.86 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.211, allocations: 0 / 390.4 MB, free: 33.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004893/0.2115, allocations: 317.1 kB / 390.7 MB, free: 33.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.2115, allocations: 8 kB / 390.7 MB, free: 33.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.2115, allocations: 4 kB / 390.7 MB, free: 33.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2115, allocations: 8.25 kB / 390.7 MB, free: 33.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.2118, allocations: 80.14 kB / 390.8 MB, free: 33.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2118, allocations: 19.94 kB / 390.8 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.212, allocations: 43.67 kB / 390.9 MB, free: 33.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.212, allocations: 12 kB / 390.9 MB, free: 33.37 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.0001043/0.2121, allocations: 153.7 kB / 391 MB, free: 33.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.2122, allocations: 31.56 kB / 391.1 MB, free: 33.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.2123, allocations: 29.73 kB / 391.1 MB, free: 33.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2123, allocations: 7.938 kB / 391.1 MB, free: 33.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2123, allocations: 4 kB / 391.1 MB, free: 33.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2123, allocations: 0 / 391.1 MB, free: 33.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.2128, allocations: 0.5147 MB / 391.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2128, allocations: 0 / 391.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.213, allocations: 51.86 kB / 391.7 MB, free: 32.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.213, allocations: 4.031 kB / 391.7 MB, free: 32.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2131, allocations: 7.984 kB / 391.7 MB, free: 32.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2131, allocations: 0 / 391.7 MB, free: 32.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2131, allocations: 0 / 391.7 MB, free: 32.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.2135, allocations: 432.3 kB / 392.1 MB, free: 32.05 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.2135, allocations: 100.8 kB / 392.2 MB, free: 31.94 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.2136, allocations: 8 kB / 392.2 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.2138, allocations: 16.05 kB / 392.2 MB, free: 31.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.2138, allocations: 15.98 kB / 392.2 MB, free: 31.9 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2138, allocations: 7.984 kB / 392.3 MB, free: 31.89 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.214, allocations: 198 kB / 392.4 MB, free: 31.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.214, allocations: 0 / 392.4 MB, free: 31.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003722/0.2144, allocations: 83.69 kB / 392.5 MB, free: 31.61 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.0001294/0.2145, allocations: 115.2 kB / 392.6 MB, free: 31.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003656/0.2149, allocations: 196.7 kB / 392.8 MB, free: 31.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2149, allocations: 0 / 392.8 MB, free: 31.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.215, allocations: 79.78 kB / 392.9 MB, free: 31.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.2155, allocations: 36.75 kB / 392.9 MB, free: 31.19 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.2164, allocations: 0.8587 MB / 393.8 MB, free: 30.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.2165, allocations: 0.7718 MB / 394.6 MB, free: 29.5 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.2167, allocations: 30.97 kB / 394.6 MB, free: 29.47 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.739e-05/0.2167, allocations: 23.44 kB / 394.6 MB, free: 29.45 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2167, allocations: 4 kB / 394.6 MB, free: 29.45 MB / 298.7 MB Notification: Performance of Templates: time 0.005048/0.2218, allocations: 2.163 MB / 396.8 MB, free: 27.29 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches