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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 124 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 190.9 kB / 20.73 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 365.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 52.14 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005195/0.1214, allocations: 3.306 MB / 421.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0025/0.1239, allocations: 1.304 MB / 422.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.1242, allocations: 8 kB / 422.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.1246, allocations: 147 kB / 422.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.1258, allocations: 461.5 kB / 423 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.1262, allocations: 173.8 kB / 423.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007082/0.1269, allocations: 442.1 kB / 423.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.1271, allocations: 120.1 kB / 423.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002329/0.1274, allocations: 167.4 kB / 423.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1277, allocations: 203.1 kB / 424.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.1277, allocations: 36 kB / 424.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003433/0.1281, allocations: 155.9 kB / 424.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.972e-05/0.1282, allocations: 87.62 kB / 424.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002033/0.1284, allocations: 199 kB / 424.5 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008012/0.1292, allocations: 0.5291 MB / 425.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1292, allocations: 0 / 425.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1292, allocations: 0 / 425.1 MB, free: 5.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1292, allocations: 0 / 425.1 MB, free: 5.328 MB / 350.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.001579/0.1308, allocations: 0.7559 MB / 425.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1308, allocations: 12.03 kB / 425.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.307e-05/0.1309, allocations: 70.66 kB / 425.9 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006124/0.1315, allocations: 100.6 kB / 426 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.132, allocations: 312.6 kB / 426.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.132, allocations: 25.38 kB / 426.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.1321, allocations: 36.38 kB / 426.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007608/0.1329, allocations: 353.4 kB / 426.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1329, allocations: 0 / 426.7 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.1329, allocations: 20 kB / 426.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1329, allocations: 8 kB / 426.7 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005316/0.1335, allocations: 246.1 kB / 427 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.1357, allocations: 1.312 MB / 428.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.1361, allocations: 185.2 kB / 428.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.1363, allocations: 81.67 kB / 428.5 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000971/0.1373, allocations: 0.8713 MB / 429.4 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/0.1373, allocations: 38.55 kB / 429.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.533e-06/0.1373, allocations: 0 / 429.5 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005978/0.1379, allocations: 225.4 kB / 429.7 MB, free: 360 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.138, allocations: 81.11 kB / 429.8 MB, free: 260 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.1384, allocations: 287 kB / 430 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.1384, allocations: 29.7 kB / 430.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.1386, allocations: 240 kB / 430.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.1387, allocations: 71.44 kB / 430.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.1388, allocations: 65.97 kB / 430.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1389, allocations: 334.8 kB / 430.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1391, allocations: 68.62 kB / 430.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/0.1394, allocations: 206.2 kB / 431 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.1398, allocations: 288.8 kB / 431.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/0.1399, allocations: 4 kB / 431.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005914/0.1405, allocations: 316.2 kB / 431.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1405, allocations: 4 kB / 431.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.1405, allocations: 4 kB / 431.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.1405, allocations: 15.92 kB / 431.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.1408, allocations: 75.91 kB / 431.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.1408, allocations: 11.94 kB / 431.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.141, allocations: 39.97 kB / 431.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.141, allocations: 20 kB / 431.8 MB, free: 14.05 MB / 366.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.0002033/0.1413, allocations: 153.7 kB / 431.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.1413, allocations: 27.81 kB / 432 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.823e-05/0.1414, allocations: 29.73 kB / 432 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1414, allocations: 3.938 kB / 432 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1414, allocations: 0 / 432 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1414, allocations: 7.984 kB / 432 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.1422, allocations: 0.5108 MB / 432.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.1422, allocations: 3.938 kB / 432.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.1425, allocations: 48.22 kB / 432.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1425, allocations: 0 / 432.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.1425, allocations: 8 kB / 432.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1425, allocations: 4 kB / 432.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1425, allocations: 0 / 432.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006222/0.1431, allocations: 417.8 kB / 433 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1432, allocations: 112.9 kB / 433.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.1432, allocations: 3.938 kB / 433.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.1435, allocations: 24.05 kB / 433.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.1435, allocations: 7.984 kB / 433.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.1435, allocations: 4 kB / 433.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002282/0.1437, allocations: 198 kB / 433.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1438, allocations: 0 / 433.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004526/0.1442, allocations: 87.78 kB / 433.4 MB, free: 12.32 MB / 366.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.001072/0.1453, allocations: 0.9771 MB / 434.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.1457, allocations: 175.7 kB / 434.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1457, allocations: 4 kB / 434.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.1459, allocations: 68.97 kB / 434.6 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1463, allocations: 32.89 kB / 434.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.1506, allocations: 3.12 MB / 437.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.151, allocations: 0.7675 MB / 438.6 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001265/0.1511, allocations: 34.95 kB / 438.6 MB, free: 6.883 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.1513, allocations: 103.4 kB / 438.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1513, allocations: 3.938 kB / 438.7 MB, free: 6.777 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.184, allocations: 5.54 MB / 444.2 MB, free: 1.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.333/8.517, allocations: 16.03 kB / 444.2 MB, free: 1.379 MB / 366.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.49775331094861]