Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 107.3 kB / 16.92 MB, free: 5.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 191.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.934/1.934, allocations: 222.9 MB / 241.5 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 55.17 kB / 300.7 MB, free: 5.785 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1545, allocations: 49.44 MB / 350.2 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.008147/0.1627, allocations: 3.269 MB / 353.4 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004121/0.1669, allocations: 1.296 MB / 354.7 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.1674, allocations: 8 kB / 354.7 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007903/0.1683, allocations: 147.1 kB / 354.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001993/0.1703, allocations: 465.4 kB / 355.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007589/0.1711, allocations: 163.5 kB / 355.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.1722, allocations: 442.1 kB / 355.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004467/0.1727, allocations: 148.5 kB / 356.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004282/0.1731, allocations: 171.3 kB / 356.2 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.1737, allocations: 207.1 kB / 356.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.1739, allocations: 36 kB / 356.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007327/0.1746, allocations: 155.9 kB / 356.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.1748, allocations: 79.69 kB / 356.7 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.1752, allocations: 191.1 kB / 356.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001319/0.1765, allocations: 0.5333 MB / 357.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.1766, allocations: 0 / 357.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1766, allocations: 0 / 357.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.866e-05/0.1766, allocations: 4 kB / 357.4 MB, free: 13.02 MB / 302.1 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.002647/0.1793, allocations: 0.7408 MB / 358.2 MB, free: 12.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/0.1794, allocations: 12.03 kB / 358.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.1795, allocations: 70.72 kB / 358.3 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.1807, allocations: 96.41 kB / 358.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00106/0.1818, allocations: 304.5 kB / 358.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.1819, allocations: 25.38 kB / 358.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.182, allocations: 32.38 kB / 358.7 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.1833, allocations: 357.5 kB / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.1833, allocations: 0 / 359.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.744e-05/0.1834, allocations: 16 kB / 359.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.1834, allocations: 8 kB / 359.1 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008849/0.1843, allocations: 250.1 kB / 359.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003941/0.1883, allocations: 1.331 MB / 360.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.1889, allocations: 193.2 kB / 360.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.1892, allocations: 85.67 kB / 360.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.1906, allocations: 0.8752 MB / 361.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.1907, allocations: 42.56 kB / 361.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 3.156e-06/0.1907, allocations: 0 / 361.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009967/0.1917, allocations: 217.4 kB / 362.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.02e-05/0.1918, allocations: 89.03 kB / 362.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.1924, allocations: 278.9 kB / 362.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.1924, allocations: 29.7 kB / 362.4 MB, free: 7.617 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.1927, allocations: 247.5 kB / 362.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.755e-05/0.1929, allocations: 63.09 kB / 362.7 MB, free: 7.309 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.1931, allocations: 65.94 kB / 362.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.1933, allocations: 334.8 kB / 363.1 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003091/0.1936, allocations: 72.67 kB / 363.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.1941, allocations: 202.3 kB / 363.4 MB, free: 6.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.1948, allocations: 292.3 kB / 363.7 MB, free: 6.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.1948, allocations: 4 kB / 363.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009899/0.1959, allocations: 309.1 kB / 364 MB, free: 5.918 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.1959, allocations: 8 kB / 364 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.1959, allocations: 4 kB / 364 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.196, allocations: 11.94 kB / 364 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.1965, allocations: 83.83 kB / 364.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.1965, allocations: 8 kB / 364.1 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004176/0.197, allocations: 36.03 kB / 364.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.197, allocations: 12 kB / 364.2 MB, free: 5.758 MB / 302.1 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.000277/0.1973, allocations: 161.6 kB / 364.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.1975, allocations: 35.61 kB / 364.4 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.1976, allocations: 25.73 kB / 364.4 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.1976, allocations: 7.938 kB / 364.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.1977, allocations: 0 / 364.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1977, allocations: 0 / 364.4 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.199, allocations: 0.5069 MB / 364.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.1991, allocations: 3.938 kB / 364.9 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/0.1995, allocations: 47.97 kB / 364.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1995, allocations: 0 / 364.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.1996, allocations: 4 kB / 364.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.033e-05/0.1996, allocations: 0 / 364.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1996, allocations: 7.875 kB / 365 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.2007, allocations: 421.8 kB / 365.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.2009, allocations: 108.7 kB / 365.5 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.857e-05/0.2009, allocations: 4 kB / 365.5 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/0.2014, allocations: 20.05 kB / 365.5 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.2015, allocations: 11.98 kB / 365.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.2015, allocations: 8.062 kB / 365.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003562/0.2019, allocations: 201.9 kB / 365.7 MB, free: 4.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.2019, allocations: 0 / 365.7 MB, free: 4.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008522/0.2027, allocations: 79.75 kB / 365.8 MB, free: 4.027 MB / 302.1 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.001538/0.2043, allocations: 0.977 MB / 366.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008336/0.2052, allocations: 191.7 kB / 367 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.2052, allocations: 1.125 kB / 367 MB, free: 2.832 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.2055, allocations: 67.91 kB / 367 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008907/0.2064, allocations: 36.12 kB / 367.1 MB, free: 2.734 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2964/0.5028, allocations: 3.118 MB / 370.2 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.5034, allocations: 0.7729 MB / 370.9 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000391/0.5039, allocations: 34.41 kB / 371 MB, free: 23.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.5042, allocations: 107.9 kB / 371.1 MB, free: 23.59 MB / 302.1 MB Notification: Performance of SimCode: time 1.743e-06/0.5042, allocations: 0 / 371.1 MB, free: 23.59 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0494/0.5536, allocations: 5.367 MB / 376.5 MB, free: 23.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.37, allocations: 14.67 kB / 376.5 MB, free: 23.08 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches