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.001742/0.001742, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.00194/0.00194, allocations: 189.9 kB / 23.72 MB, free: 4.684 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.437/1.437, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.001651/0.001651, allocations: 51.92 kB / 370.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2831, allocations: 52.18 MB / 422.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006673/0.2898, allocations: 4.701 MB / 427.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003404/0.2932, allocations: 1.713 MB / 429 MB, free: 8.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004726/0.2936, allocations: 31.81 kB / 429.1 MB, free: 8.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006906/0.2943, allocations: 266.3 kB / 429.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001904/0.2962, allocations: 0.7153 MB / 430 MB, free: 7.184 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.2968, allocations: 231.4 kB / 430.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002351/0.2991, allocations: 1.876 MB / 432.2 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009917/0.3001, allocations: 0.6877 MB / 432.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.3011, allocations: 0.8099 MB / 433.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.3025, allocations: 1.008 MB / 434.7 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003046/0.3028, allocations: 188 kB / 434.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006214/0.3034, allocations: 311.8 kB / 435.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005121/0.3039, allocations: 0.5375 MB / 435.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.3049, allocations: 0.8943 MB / 436.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003013/0.308, allocations: 2.577 MB / 439.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.308, allocations: 4 kB / 439.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.308, allocations: 0 / 439.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.222e-05/0.308, allocations: 4 kB / 439.2 MB, free: 14 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.004963/0.313, allocations: 2.149 MB / 441.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.313, allocations: 12.02 kB / 441.3 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002824/0.3133, allocations: 202.8 kB / 441.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.315, allocations: 375.6 kB / 441.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.3169, allocations: 1.042 MB / 442.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.384e-05/0.317, allocations: 103 kB / 443 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.3172, allocations: 131.9 kB / 443.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.3203, allocations: 1.89 MB / 445 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.3203, allocations: 3.938 kB / 445.1 MB, free: 8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.3204, allocations: 56 kB / 445.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.743e-05/0.3205, allocations: 49.98 kB / 445.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.3235, allocations: 1.688 MB / 446.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00971/0.3332, allocations: 5.421 MB / 452.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.3356, allocations: 1.075 MB / 453.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007654/0.3364, allocations: 479.2 kB / 453.8 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002613/0.339, allocations: 1.354 MB / 455.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.339, allocations: 54.56 kB / 455.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.465e-06/0.3391, allocations: 0 / 455.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.003246/0.3423, allocations: 1.329 MB / 456.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3424, allocations: 85.05 kB / 456.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.3438, allocations: 1.024 MB / 457.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.3438, allocations: 37.7 kB / 457.7 MB, free: 11.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00054/0.3444, allocations: 0.6948 MB / 458.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.3445, allocations: 202.4 kB / 458.6 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.3448, allocations: 130.2 kB / 458.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.3449, allocations: 334 kB / 459 MB, free: 9.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.3455, allocations: 357 kB / 459.4 MB, free: 9.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007228/0.3463, allocations: 0.5093 MB / 459.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.3476, allocations: 0.8711 MB / 460.8 MB, free: 7.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.3476, allocations: 4 kB / 460.8 MB, free: 7.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001748/0.3494, allocations: 1.01 MB / 461.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.3494, allocations: 8 kB / 461.8 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.3494, allocations: 7.938 kB / 461.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.3494, allocations: 8 kB / 461.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007622/0.3502, allocations: 183.7 kB / 462 MB, free: 6.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.3502, allocations: 11.98 kB / 462 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.3507, allocations: 87.55 kB / 462.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-05/0.3508, allocations: 35.92 kB / 462.1 MB, free: 6.465 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.0008793/0.3517, allocations: 0.5226 MB / 462.6 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.3519, allocations: 95.44 kB / 462.7 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.3532, allocations: 0.6811 MB / 463.4 MB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3532, allocations: 11.98 kB / 463.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3533, allocations: 3.938 kB / 463.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3533, allocations: 4 kB / 463.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.3561, allocations: 1.647 MB / 465.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3561, allocations: 4 kB / 465.1 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004472/0.3565, allocations: 91.81 kB / 465.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.357, allocations: 156.7 kB / 465.3 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.357, allocations: 19.98 kB / 465.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003552/0.3606, allocations: 2.746 MB / 468.1 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3606, allocations: 0 / 468.1 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.363, allocations: 1.478 MB / 469.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.3633, allocations: 119.3 kB / 469.7 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.3634, allocations: 15.98 kB / 469.7 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/0.3639, allocations: 59.88 kB / 469.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.3641, allocations: 59.83 kB / 469.8 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.959e-05/0.3641, allocations: 16 kB / 469.8 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001115/0.3652, allocations: 0.7332 MB / 470.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3652, allocations: 3.938 kB / 470.6 MB, free: 13.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001244/0.3665, allocations: 366.8 kB / 470.9 MB, free: 13.43 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.003167/0.3696, allocations: 2.057 MB / 473 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.3712, allocations: 0.7576 MB / 473.7 MB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3712, allocations: 4.062 kB / 473.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.3725, allocations: 0.5743 MB / 474.3 MB, free: 9.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.3736, allocations: 178.7 kB / 474.5 MB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.3893, allocations: 10.54 MB / 485 MB, free: 14.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.3905, allocations: 1.499 MB / 486.5 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006066/0.3911, allocations: 230.7 kB / 486.8 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/0.3917, allocations: 483.3 kB / 487.2 MB, free: 12.75 MB / 398.1 MB Notification: Performance of SimCode: time 1.232e-06/0.3917, allocations: 4 kB / 487.2 MB, free: 12.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06588/0.4576, allocations: 23.69 MB / 0.4989 GB, free: 5.324 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.62, allocations: 10.39 kB / 0.499 GB, free: 5.316 MB / 414.1 MB " [Timeout remaining time 646] (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: 16.521420982000564]