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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008781/0.0008781, allocations: 83.64 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003452/0.003452, allocations: 164 kB / 24.7 MB, free: 9.414 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8053/0.8053, allocations: 158.6 MB / 186.5 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.066e-05/1.195e-05, allocations: 2.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.002759/0.002771, allocations: 2.995 MB / 301.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1238/0.1266, allocations: 1.241 MB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.1268, allocations: 6.688 kB / 302.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003601/0.1272, allocations: 150.4 kB / 302.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.1279, allocations: 315.9 kB / 303.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.1282, allocations: 252.8 kB / 303.4 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.1287, allocations: 460 kB / 303.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1289, allocations: 98.92 kB / 303.9 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.1291, allocations: 248.9 kB / 304.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.1294, allocations: 152.4 kB / 304.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.1294, allocations: 35.19 kB / 304.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002588/0.1297, allocations: 148.3 kB / 304.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.1297, allocations: 86.11 kB / 304.6 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.1298, allocations: 129.9 kB / 304.7 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.1304, allocations: 0.5487 MB / 305.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1304, allocations: 1.125 kB / 305.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1304, allocations: 1.031 kB / 305.2 MB, free: 12.7 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.1304, allocations: 3.938 kB / 305.3 MB, free: 12.69 MB / 282.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.0009702/0.1314, allocations: 0.6771 MB / 305.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1314, allocations: 13.55 kB / 305.9 MB, free: 12.21 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.316e-05/0.1315, allocations: 69 kB / 306 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003374/0.1318, allocations: 102.3 kB / 306.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.1322, allocations: 242.4 kB / 306.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.1322, allocations: 28.27 kB / 306.4 MB, free: 11.9 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.1323, allocations: 38.94 kB / 306.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.1327, allocations: 404.7 kB / 306.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1327, allocations: 1.812 kB / 306.8 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.1328, allocations: 16.88 kB / 306.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.1328, allocations: 12.44 kB / 306.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.1331, allocations: 243 kB / 307.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.1345, allocations: 1.183 MB / 308.3 MB, free: 10.72 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.1347, allocations: 181.8 kB / 308.4 MB, free: 10.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.944e-05/0.1348, allocations: 85.16 kB / 308.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004444/0.1353, allocations: 0.5207 MB / 309 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.1353, allocations: 40.94 kB / 309.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.1353, allocations: 0 / 309.1 MB, free: 10.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003685/0.1357, allocations: 220.6 kB / 309.3 MB, free: 9.988 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/0.1357, allocations: 83.92 kB / 309.4 MB, free: 9.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.1359, allocations: 287.6 kB / 309.7 MB, free: 9.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.1359, allocations: 31.97 kB / 309.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.136, allocations: 245.8 kB / 309.9 MB, free: 9.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.136, allocations: 61.28 kB / 310 MB, free: 9.438 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.1361, allocations: 66.08 kB / 310.1 MB, free: 9.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.1361, allocations: 340.6 kB / 310.4 MB, free: 9.062 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.1362, allocations: 67.56 kB / 310.5 MB, free: 9.043 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1363, allocations: 198.2 kB / 310.6 MB, free: 8.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002407/0.1366, allocations: 297.1 kB / 310.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1366, allocations: 1.031 kB / 310.9 MB, free: 8.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003403/0.1369, allocations: 313.2 kB / 311.2 MB, free: 8.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1369, allocations: 11.38 kB / 311.3 MB, free: 8.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1369, allocations: 8.531 kB / 311.3 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.137, allocations: 6.688 kB / 311.3 MB, free: 8.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.1371, allocations: 80.19 kB / 311.3 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.1371, allocations: 8.281 kB / 311.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.1373, allocations: 47.97 kB / 311.4 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1373, allocations: 15.72 kB / 311.4 MB, free: 8.422 MB / 282.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 8.625e-05/0.1374, allocations: 154.7 kB / 311.6 MB, free: 8.277 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.1374, allocations: 26.88 kB / 311.6 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.1374, allocations: 27.67 kB / 311.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1374, allocations: 3.016 kB / 311.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1374, allocations: 1.219 kB / 311.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1374, allocations: 1.594 kB / 311.6 MB, free: 8.246 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.1379, allocations: 477.8 kB / 312.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1379, allocations: 0 / 312.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.138, allocations: 41.84 kB / 312.1 MB, free: 7.883 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.138, allocations: 5.734 kB / 312.1 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.138, allocations: 10.89 kB / 312.2 MB, free: 7.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.138, allocations: 5.062 kB / 312.2 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.138, allocations: 1.969 kB / 312.2 MB, free: 7.867 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.1383, allocations: 417.1 kB / 312.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.1384, allocations: 29.8 kB / 312.6 MB, free: 7.559 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.1384, allocations: 6.125 kB / 312.6 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1385, allocations: 20.97 kB / 312.6 MB, free: 7.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1385, allocations: 14.5 kB / 312.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1385, allocations: 5.109 kB / 312.6 MB, free: 7.543 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001273/0.1387, allocations: 200.7 kB / 312.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1387, allocations: 0 / 312.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002965/0.139, allocations: 82.11 kB / 312.9 MB, free: 7.41 MB / 282.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.000445/0.1394, allocations: 0.9675 MB / 313.9 MB, free: 6.582 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002574/0.1397, allocations: 179.5 kB / 314.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1397, allocations: 0 / 314.1 MB, free: 6.527 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.425e-05/0.1398, allocations: 70.22 kB / 314.1 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1401, allocations: 32.05 kB / 314.2 MB, free: 6.488 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.1424, allocations: 3.056 MB / 317.2 MB, free: 4.262 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.1426, allocations: 167.4 kB / 317.4 MB, free: 4.176 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.1427, allocations: 35.62 kB / 317.4 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.1428, allocations: 106.9 kB / 317.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1428, allocations: 0 / 317.5 MB, free: 4.086 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.1651, allocations: 6.249 MB / 323.8 MB, free: 1.672 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/7.036, allocations: 17.25 kB / 323.8 MB, free: 1.656 MB / 282.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.csv","/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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.774495149962604]