Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_3_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.001158/0.001158, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001214/0.001214, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002704/0.002704, allocations: 51.94 kB / 280.8 MB, free: 3.09 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1489, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.00547/0.1544, allocations: 3.24 MB / 330.6 MB, free: 1.117 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.1575, allocations: 1.344 MB / 332 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005179/0.1581, allocations: 7.938 kB / 332 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.1587, allocations: 151.1 kB / 332.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001534/0.1603, allocations: 350 kB / 332.5 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008402/0.1612, allocations: 267.1 kB / 332.7 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.1622, allocations: 438.2 kB / 333.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.1626, allocations: 156.4 kB / 333.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004014/0.163, allocations: 163.3 kB / 333.5 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.1634, allocations: 195.2 kB / 333.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.1635, allocations: 39.94 kB / 333.7 MB, free: 14.03 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005299/0.1641, allocations: 159.9 kB / 333.8 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.1642, allocations: 95.61 kB / 333.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.1645, allocations: 191.1 kB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000974/0.1655, allocations: 0.5216 MB / 334.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1655, allocations: 4 kB / 334.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1656, allocations: 0 / 334.7 MB, free: 13.06 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.446e-05/0.1656, allocations: 0 / 334.7 MB, free: 13.06 MB / 286.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.002143/0.1677, allocations: 0.741 MB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.997e-05/0.1678, allocations: 8.031 kB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.168, allocations: 74.66 kB / 335.5 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007285/0.1687, allocations: 96.41 kB / 335.6 MB, free: 12.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006074/0.1693, allocations: 312.4 kB / 335.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.1694, allocations: 25.38 kB / 335.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.209e-05/0.1695, allocations: 36.38 kB / 335.9 MB, free: 11.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006695/0.1701, allocations: 353.5 kB / 336.3 MB, free: 11.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1702, allocations: 7.938 kB / 336.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1702, allocations: 12 kB / 336.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.1702, allocations: 8 kB / 336.3 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005336/0.1708, allocations: 242.1 kB / 336.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.1732, allocations: 1.331 MB / 337.9 MB, free: 9.625 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.1736, allocations: 193.2 kB / 338.1 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.1738, allocations: 81.69 kB / 338.1 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009971/0.1748, allocations: 0.8713 MB / 339 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.1749, allocations: 34.5 kB / 339 MB, free: 8.316 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.1749, allocations: 4 kB / 339.1 MB, free: 8.312 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.000627/0.1755, allocations: 221.3 kB / 339.3 MB, free: 8.09 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.1756, allocations: 85.05 kB / 339.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1759, allocations: 282.9 kB / 339.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.176, allocations: 29.7 kB / 339.7 MB, free: 7.672 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1762, allocations: 235.5 kB / 339.9 MB, free: 7.438 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.151e-05/0.1762, allocations: 67.08 kB / 340 MB, free: 7.371 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1764, allocations: 58.03 kB / 340 MB, free: 7.309 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.1765, allocations: 342.8 kB / 340.3 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.1767, allocations: 68.62 kB / 340.4 MB, free: 6.898 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.177, allocations: 198.6 kB / 340.6 MB, free: 6.645 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004697/0.1775, allocations: 304.8 kB / 340.9 MB, free: 6.285 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.1775, allocations: 4 kB / 340.9 MB, free: 6.281 MB / 286.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006084/0.1781, allocations: 308.9 kB / 341.2 MB, free: 5.973 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.1781, allocations: 4.562 kB / 341.2 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1782, allocations: 8 kB / 341.2 MB, free: 5.961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.1782, allocations: 11.94 kB / 341.2 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.1785, allocations: 91.77 kB / 341.3 MB, free: 5.859 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.1785, allocations: 4 kB / 341.3 MB, free: 5.855 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.1788, allocations: 35.67 kB / 341.4 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.1788, allocations: 20 kB / 341.4 MB, free: 5.801 MB / 286.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.0001956/0.179, allocations: 153.7 kB / 341.5 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.782e-05/0.1791, allocations: 27.72 kB / 341.6 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.317e-05/0.1792, allocations: 33.73 kB / 341.6 MB, free: 5.578 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1792, allocations: 3.938 kB / 341.6 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.1792, allocations: 4 kB / 341.6 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1792, allocations: 0 / 341.6 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008318/0.1801, allocations: 0.503 MB / 342.1 MB, free: 5.008 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.1801, allocations: 7.938 kB / 342.1 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.1803, allocations: 40.02 kB / 342.1 MB, free: 4.961 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.1804, allocations: 7.984 kB / 342.2 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.1804, allocations: 4 kB / 342.2 MB, free: 4.949 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1804, allocations: 3.938 kB / 342.2 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1804, allocations: 4 kB / 342.2 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.1811, allocations: 418.4 kB / 342.6 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1812, allocations: 108.7 kB / 342.7 MB, free: 4.391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.1813, allocations: 7.984 kB / 342.7 MB, free: 4.383 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.1815, allocations: 12 kB / 342.7 MB, free: 4.371 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.108e-05/0.1816, allocations: 7.984 kB / 342.7 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.1816, allocations: 11.98 kB / 342.7 MB, free: 4.352 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002687/0.1819, allocations: 198 kB / 342.9 MB, free: 4.156 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1819, allocations: 8 kB / 342.9 MB, free: 4.148 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005946/0.1825, allocations: 79.75 kB / 343 MB, free: 4.07 MB / 286.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.001181/0.1837, allocations: 0.9781 MB / 344 MB, free: 3.062 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.1844, allocations: 196.5 kB / 344.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.1844, allocations: 0 / 344.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.1846, allocations: 79.83 kB / 344.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007012/0.1853, allocations: 20.89 kB / 344.3 MB, free: 2.773 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005444/0.1907, allocations: 3.132 MB / 347.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.1913, allocations: 0.7713 MB / 348.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.1915, allocations: 38.95 kB / 348.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.1917, allocations: 107.4 kB / 348.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1917, allocations: 3.938 kB / 348.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04058/0.2323, allocations: 5.343 MB / 353.7 MB, free: 9.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/11.97, allocations: 8.438 kB / 353.7 MB, free: 9.082 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance.fmu > 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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches