Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.001911/0.001911, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.002219/0.002219, allocations: 185 kB / 23.7 MB, free: 4.191 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.468/1.468, allocations: 225.7 MB / 252.5 MB, free: 12.87 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.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 51.92 kB / 370.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2628, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006755/0.2695, allocations: 4.219 MB / 426.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.2726, allocations: 1.592 MB / 428.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.273, allocations: 31.81 kB / 428.4 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.2736, allocations: 258.3 kB / 428.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.2753, allocations: 0.6918 MB / 429.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005011/0.2758, allocations: 233.9 kB / 429.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.2779, allocations: 1.878 MB / 431.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008982/0.2788, allocations: 0.6643 MB / 432.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008908/0.2797, allocations: 0.8177 MB / 432.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.281, allocations: 1.02 MB / 434 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002643/0.2813, allocations: 184 kB / 434.1 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005977/0.2819, allocations: 303.8 kB / 434.4 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005013/0.2824, allocations: 0.5414 MB / 435 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007612/0.2831, allocations: 0.7273 MB / 435.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002509/0.2856, allocations: 2.589 MB / 438.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2857, allocations: 0 / 438.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.614e-06/0.2857, allocations: 4 kB / 438.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.2857, allocations: 0 / 438.3 MB, free: 14.6 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004654/0.2903, allocations: 2.149 MB / 440.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2904, allocations: 8.031 kB / 440.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002752/0.2907, allocations: 206.8 kB / 440.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.2923, allocations: 387.5 kB / 441 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002141/0.2945, allocations: 1.042 MB / 442.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/0.2946, allocations: 103 kB / 442.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.2948, allocations: 131.9 kB / 442.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.2981, allocations: 2.041 MB / 444.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.2981, allocations: 0 / 444.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.2982, allocations: 56 kB / 444.4 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/0.2983, allocations: 49.98 kB / 444.5 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002904/0.3012, allocations: 1.68 MB / 446.1 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009239/0.3104, allocations: 5.004 MB / 451.1 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002354/0.3128, allocations: 1.062 MB / 452.2 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007831/0.3136, allocations: 476.1 kB / 452.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002395/0.316, allocations: 1.237 MB / 453.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.316, allocations: 46.62 kB / 453.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.575e-06/0.316, allocations: 0 / 453.9 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003183/0.3192, allocations: 1.336 MB / 455.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.3192, allocations: 85.05 kB / 455.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.3207, allocations: 1.032 MB / 456.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.3207, allocations: 49.58 kB / 456.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/0.3213, allocations: 0.687 MB / 457.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.3214, allocations: 206.3 kB / 457.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.3216, allocations: 122.3 kB / 457.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.3218, allocations: 334 kB / 457.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.3224, allocations: 357 kB / 458.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.3231, allocations: 0.5171 MB / 458.6 MB, free: 9.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.3245, allocations: 0.8711 MB / 459.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3245, allocations: 0 / 459.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001675/0.3261, allocations: 1.01 MB / 460.5 MB, free: 7.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3262, allocations: 8 kB / 460.5 MB, free: 7.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.3262, allocations: 7.938 kB / 460.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.3262, allocations: 8 kB / 460.6 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.3269, allocations: 183.7 kB / 460.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.771e-05/0.3269, allocations: 15.92 kB / 460.7 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.3275, allocations: 87.52 kB / 460.8 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.3275, allocations: 28.22 kB / 460.9 MB, free: 7.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * 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.000755/0.3283, allocations: 0.5247 MB / 461.4 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/0.3284, allocations: 95.39 kB / 461.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.3297, allocations: 0.6772 MB / 462.2 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.3297, allocations: 11.98 kB / 462.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.3297, allocations: 3.938 kB / 462.2 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3297, allocations: 4 kB / 462.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.3323, allocations: 1.531 MB / 463.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3323, allocations: 4 kB / 463.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.3328, allocations: 91.81 kB / 463.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.3332, allocations: 152.6 kB / 463.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.3332, allocations: 15.98 kB / 464 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.3365, allocations: 2.721 MB / 466.7 MB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3365, allocations: 3.984 kB / 466.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.3388, allocations: 1.474 MB / 468.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.3391, allocations: 123.3 kB / 468.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3392, allocations: 19.98 kB / 468.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005232/0.3397, allocations: 55.88 kB / 468.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.3398, allocations: 59.89 kB / 468.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.3399, allocations: 16 kB / 468.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000999/0.3409, allocations: 0.7332 MB / 469.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3409, allocations: 0 / 469.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00101/0.3419, allocations: 366.8 kB / 469.5 MB, free: 14.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002835/0.3447, allocations: 2.06 MB / 471.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.3461, allocations: 0.7528 MB / 472.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3461, allocations: 0 / 472.3 MB, free: 11.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.3472, allocations: 0.5743 MB / 472.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009752/0.3482, allocations: 171.9 kB / 473.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/0.3641, allocations: 10.54 MB / 483.6 MB, free: 84 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.3651, allocations: 0.9052 MB / 484.5 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006579/0.3658, allocations: 234.7 kB / 484.7 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006528/0.3664, allocations: 487.3 kB / 485.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.994e-06/0.3664, allocations: 0 / 485.2 MB, free: 14.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06962/0.4361, allocations: 24.55 MB / 0.4978 GB, free: 6.227 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/12.69, allocations: 6.609 kB / 0.4978 GB, free: 6.227 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_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_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter_m.singlePhaseElectroMagneticConverter[1].Phi.re in file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable converter_m.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! Error: Could not read variable converter_m.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable converter_m.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.64345365203917]