Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001888/0.001888, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00228/0.00228, allocations: 208.1 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.443/1.443, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.89 kB / 377.7 MB, free: 2.789 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2274, allocations: 53.41 MB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01137/0.2388, allocations: 8.707 MB / 439.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006379/0.2451, allocations: 3.241 MB / 443.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008814/0.246, allocations: 87.56 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008585/0.2546, allocations: 3.585 MB / 446.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003925/0.2585, allocations: 1.516 MB / 448.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.2609, allocations: 1.023 MB / 449.3 MB, free: 4.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.2713, allocations: 9.344 MB / 458.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01859/0.2899, allocations: 12.85 MB / 471.5 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006683/0.2966, allocations: 5.164 MB / 476.7 MB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008958/0.3056, allocations: 6.056 MB / 482.7 MB, free: 2.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002545/0.3081, allocations: 1.395 MB / 484.1 MB, free: 1.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.3116, allocations: 1.64 MB / 485.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002834/0.3144, allocations: 2.93 MB / 488.7 MB, free: 12.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005949/0.3204, allocations: 4.273 MB / 493 MB, free: 8.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01978/0.3402, allocations: 18.98 MB / 0.4999 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3402, allocations: 0 / 0.4999 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3402, allocations: 0 / 0.4999 GB, free: 5.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003084/0.3405, allocations: 0 / 0.4999 GB, free: 5.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03366/0.3741, allocations: 12.38 MB / 0.512 GB, free: 8.863 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3742, allocations: 19.92 kB / 0.5121 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003225/0.3774, allocations: 1.324 MB / 0.5134 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04954/0.4269, allocations: 8.429 MB / 0.5216 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01395/0.4409, allocations: 6.023 MB / 0.5275 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006726/0.4416, allocations: 0.6584 MB / 0.5281 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0031/0.4447, allocations: 0.8671 MB / 0.529 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4012/0.8458, allocations: 16.27 MB / 0.5448 GB, free: 81.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003458/0.8462, allocations: 6.719 kB / 0.5449 GB, free: 81.66 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002559/0.8487, allocations: 373.3 kB / 0.5452 GB, free: 81.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006229/0.8494, allocations: 0.5557 MB / 0.5458 GB, free: 81.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/0.8731, allocations: 15.69 MB / 0.5611 GB, free: 74.33 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05804/0.9312, allocations: 43.08 MB / 0.6031 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01273/0.9439, allocations: 8.453 MB / 0.6114 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004068/0.948, allocations: 3.249 MB / 0.6146 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/0.9483, allocations: 111.9 kB / 0.6147 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.9484, allocations: 86.56 kB / 0.6148 GB, free: 19.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.534e-06/0.9484, allocations: 4 kB / 0.6148 GB, free: 19.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02054/0.9689, allocations: 11.1 MB / 0.6256 GB, free: 8.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.969, allocations: 125.1 kB / 0.6257 GB, free: 8.434 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/0.9735, allocations: 4.026 MB / 0.6296 GB, free: 4.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005579/0.974, allocations: 105.7 kB / 0.6297 GB, free: 4.418 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001458/0.9755, allocations: 4.045 MB / 0.6337 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001433/0.9769, allocations: 1.688 MB / 0.6353 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002246/0.9792, allocations: 1.492 MB / 0.6368 GB, free: 13.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9793, allocations: 301.1 kB / 0.6371 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005895/0.9852, allocations: 3.695 MB / 0.6407 GB, free: 9.574 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008529/0.9937, allocations: 6.531 MB / 0.6471 GB, free: 1.742 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/1.009, allocations: 10.86 MB / 0.6577 GB, free: 5.551 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/1.009, allocations: 31.69 kB / 0.6577 GB, free: 5.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02324/1.032, allocations: 11.95 MB / 0.6694 GB, free: 9.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/1.032, allocations: 55.95 kB / 0.6694 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001747/1.033, allocations: 96 kB / 0.6695 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005278/1.038, allocations: 1.616 MB / 0.6711 GB, free: 7.715 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006453/1.044, allocations: 1.673 MB / 0.6727 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02155/1.066, allocations: 16.87 MB / 0.6892 GB, free: 4.484 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005495/1.071, allocations: 0.9781 MB / 0.6902 GB, free: 3.5 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00093/1.072, allocations: 364 kB / 0.6905 GB, free: 3.145 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006015/1.078, allocations: 3.75 MB / 0.6942 GB, free: 15.38 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008277/1.079, allocations: 417.3 kB / 0.6946 GB, free: 14.97 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/1.095, allocations: 8.522 MB / 0.7029 GB, free: 6.359 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.898e-05/1.096, allocations: 51.94 kB / 0.7029 GB, free: 6.309 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/1.096, allocations: 16 kB / 0.703 GB, free: 6.293 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-05/1.096, allocations: 27.91 kB / 0.703 GB, free: 6.266 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0343/1.13, allocations: 16.21 MB / 0.7188 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.13, allocations: 0 / 0.7188 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003768/1.134, allocations: 0.8698 MB / 0.7197 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005142/1.139, allocations: 1.514 MB / 0.7211 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000758/1.14, allocations: 112 kB / 0.7213 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02128/1.161, allocations: 16.67 MB / 0.7375 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.161, allocations: 8 kB / 0.7375 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02201/1.183, allocations: 12.26 MB / 0.7495 GB, free: 5.535 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003222/1.186, allocations: 1.082 MB / 0.7506 GB, free: 4.449 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008185/1.187, allocations: 88.06 kB / 0.7507 GB, free: 4.363 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002769/1.19, allocations: 295.6 kB / 0.7509 GB, free: 4.074 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007932/1.191, allocations: 347.3 kB / 0.7513 GB, free: 3.734 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003388/1.191, allocations: 144 kB / 0.7514 GB, free: 3.594 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.004179/1.195, allocations: 2.574 MB / 0.7539 GB, free: 1.023 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.81e-07/1.195, allocations: 4 kB / 0.7539 GB, free: 1.02 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.2092/1.404, allocations: 2.407 MB / 0.7563 GB, free: 190.4 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01884/1.423, allocations: 12.97 MB / 0.7689 GB, free: 187.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.437, allocations: 9.016 MB / 0.7777 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/1.437, allocations: 0 / 0.7777 GB, free: 183.9 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006489/1.444, allocations: 4.181 MB / 0.7818 GB, free: 182 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/1.448, allocations: 0.7323 MB / 0.7825 GB, free: 181.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07622/1.524, allocations: 61.4 MB / 0.8425 GB, free: 124.6 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005182/1.529, allocations: 5.592 MB / 0.848 GB, free: 119 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006405/1.536, allocations: 3.255 MB / 0.8511 GB, free: 115.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003691/1.539, allocations: 3.069 MB / 0.8541 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of SimCode: time 1.513e-06/1.539, allocations: 0 / 0.8541 GB, free: 112.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3729/1.912, allocations: 128.6 MB / 0.9797 GB, free: 176.7 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.35/20.26, allocations: 7.469 kB / 0.9797 GB, free: 176.7 MB / 0.5607 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Ie.re in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable Ie.re from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! Error: Could not read variable Ie.im in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable Ie.im from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! Error: Could not read variable Im.re in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable Im.re from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! Error: Could not read variable Im.im in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv. Warning: Get data of variable Im.im from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.214338229969144]