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.001317/0.001317, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001383/0.001383, allocations: 192.8 kB / 23.71 MB, free: 4.406 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.413/1.413, allocations: 225.7 MB / 252.5 MB, free: 12.79 MB / 206.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.001567/0.001567, allocations: 43.94 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2469, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004945/0.2518, allocations: 3.04 MB / 425.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.2543, allocations: 1.203 MB / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.2545, allocations: 11.94 kB / 426.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.255, allocations: 143.1 kB / 427 MB, free: 9.969 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.2561, allocations: 445.5 kB / 427.4 MB, free: 9.531 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003883/0.2565, allocations: 162.4 kB / 427.6 MB, free: 9.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006132/0.2571, allocations: 454 kB / 428 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.2573, allocations: 96.69 kB / 428.1 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.2575, allocations: 167.4 kB / 428.3 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.2578, allocations: 179.1 kB / 428.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.2579, allocations: 36 kB / 428.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.2582, allocations: 151.9 kB / 428.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.2582, allocations: 75.7 kB / 428.7 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.2584, allocations: 171.2 kB / 428.9 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007142/0.2591, allocations: 0.5331 MB / 429.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2591, allocations: 0 / 429.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2591, allocations: 0 / 429.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.2591, allocations: 4 kB / 429.4 MB, free: 7.531 MB / 334.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.001458/0.2606, allocations: 0.6728 MB / 430.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2606, allocations: 12.03 kB / 430.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.137e-05/0.2607, allocations: 74.72 kB / 430.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005914/0.2613, allocations: 92.64 kB / 430.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.2618, allocations: 250.8 kB / 430.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.2619, allocations: 25.38 kB / 430.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.2619, allocations: 40.3 kB / 430.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006855/0.2626, allocations: 412.7 kB / 431 MB, free: 5.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.2626, allocations: 4 kB / 431 MB, free: 5.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.2627, allocations: 12 kB / 431 MB, free: 5.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2627, allocations: 8 kB / 431 MB, free: 5.859 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.2632, allocations: 245.9 kB / 431.2 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.2653, allocations: 1.175 MB / 432.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.2657, allocations: 181.2 kB / 432.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.2659, allocations: 77.69 kB / 432.6 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007294/0.2666, allocations: 0.5185 MB / 433.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.2667, allocations: 46.5 kB / 433.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.563e-06/0.2667, allocations: 4 kB / 433.2 MB, free: 3.469 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005675/0.2672, allocations: 229.3 kB / 433.4 MB, free: 3.238 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.2673, allocations: 77.11 kB / 433.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.2676, allocations: 296.2 kB / 433.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.2676, allocations: 29.7 kB / 433.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.2678, allocations: 240 kB / 434.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.2679, allocations: 67.42 kB / 434.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.268, allocations: 69.98 kB / 434.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.2682, allocations: 334.8 kB / 434.5 MB, free: 2.094 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.2683, allocations: 68.61 kB / 434.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.2686, allocations: 202.3 kB / 434.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.2691, allocations: 288.9 kB / 435.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2691, allocations: 0 / 435.1 MB, free: 1.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005823/0.2696, allocations: 317.5 kB / 435.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2697, allocations: 8 kB / 435.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2697, allocations: 4.078 kB / 435.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.2697, allocations: 15.88 kB / 435.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/0.27, allocations: 79.89 kB / 435.5 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/0.27, allocations: 15.92 kB / 435.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.2702, allocations: 39.72 kB / 435.5 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.2702, allocations: 15.98 kB / 435.6 MB, free: 0.9336 MB / 334.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.000164/0.2704, allocations: 165.8 kB / 435.7 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.2705, allocations: 27.81 kB / 435.7 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.778e-05/0.2706, allocations: 29.73 kB / 435.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.2706, allocations: 3.938 kB / 435.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2706, allocations: 0 / 435.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2706, allocations: 0 / 435.8 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.2713, allocations: 466.3 kB / 436.2 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2713, allocations: 3.938 kB / 436.2 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.2715, allocations: 51.94 kB / 436.3 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2715, allocations: 0 / 436.3 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.2716, allocations: 8 kB / 436.3 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.2716, allocations: 0 / 436.3 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2716, allocations: 4 kB / 436.3 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000623/0.2722, allocations: 414.6 kB / 436.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.2722, allocations: 39.67 kB / 436.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.2723, allocations: 8 kB / 436.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2725, allocations: 20.05 kB / 436.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.2726, allocations: 11.98 kB / 436.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.2726, allocations: 4 kB / 436.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.2728, allocations: 199.1 kB / 437 MB, free: 15.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2728, allocations: 3.938 kB / 437 MB, free: 15.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004462/0.2732, allocations: 83.78 kB / 437.1 MB, free: 15.34 MB / 350.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.001014/0.2743, allocations: 0.9701 MB / 438 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004405/0.2747, allocations: 187.4 kB / 438.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2747, allocations: 0 / 438.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2749, allocations: 67.91 kB / 438.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.2753, allocations: 28.97 kB / 438.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.2795, allocations: 3.112 MB / 441.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2797, allocations: 168.8 kB / 441.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001292/0.2799, allocations: 34.97 kB / 441.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.28, allocations: 107.4 kB / 441.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.28, allocations: 0 / 441.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.3166, allocations: 6.117 MB / 447.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.58, allocations: 0 / 447.8 MB, free: 4.473 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.194766135886312]