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.001155/0.001155, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001525/0.001525, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8806/0.8806, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.383e-06/1.383e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.044e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006696/0.006716, allocations: 8.725 MB / 333.3 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.01146, allocations: 3.244 MB / 336.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.01222, allocations: 87.62 kB / 336.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00366/0.01588, allocations: 3.793 MB / 340.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.01816, allocations: 1.538 MB / 341.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.01963, allocations: 1.027 MB / 342.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006175/0.0258, allocations: 9.625 MB / 352.6 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.03747, allocations: 12.88 MB / 365.4 MB, free: 6.727 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006363/0.04384, allocations: 7.509 MB / 372.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005402/0.04924, allocations: 5.509 MB / 378.5 MB, free: 9.688 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.05089, allocations: 1.398 MB / 379.9 MB, free: 8.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.05309, allocations: 1.648 MB / 381.5 MB, free: 6.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.05478, allocations: 2.981 MB / 384.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003408/0.05819, allocations: 3.684 MB / 388.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.07, allocations: 19.17 MB / 407.3 MB, free: 12.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.07, allocations: 3.938 kB / 407.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.07, allocations: 0 / 407.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002766/0.07028, allocations: 0 / 407.3 MB, free: 12.73 MB / 378.7 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.0178/0.08808, allocations: 12.3 MB / 419.6 MB, free: 368 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.08812, allocations: 11.98 kB / 419.7 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001419/0.08954, allocations: 1.328 MB / 421 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02293/0.1125, allocations: 8.425 MB / 429.4 MB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008354/0.1208, allocations: 6.015 MB / 435.4 MB, free: 0.4961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/0.1212, allocations: 0.6585 MB / 436.1 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.1228, allocations: 0.8709 MB / 437 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2775/0.4003, allocations: 16.27 MB / 453.2 MB, free: 94.88 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002524/0.4006, allocations: 9.672 kB / 453.2 MB, free: 94.88 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00139/0.4019, allocations: 367.5 kB / 453.6 MB, free: 94.88 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004933/0.4024, allocations: 0.5534 MB / 454.2 MB, free: 94.85 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01702/0.4195, allocations: 15.7 MB / 469.8 MB, free: 89.93 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03651/0.456, allocations: 43.09 MB / 0.5009 GB, free: 49.84 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007881/0.4639, allocations: 8.458 MB / 0.5092 GB, free: 41.85 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002474/0.4663, allocations: 3.249 MB / 0.5123 GB, free: 38.6 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/0.4666, allocations: 111.9 kB / 0.5125 GB, free: 38.49 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.4666, allocations: 89.84 kB / 0.5125 GB, free: 38.39 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 6.512e-06/0.4666, allocations: 0 / 0.5125 GB, free: 38.39 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.01202/0.4786, allocations: 11.1 MB / 0.5234 GB, free: 27.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4787, allocations: 125.1 kB / 0.5235 GB, free: 27.14 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.482, allocations: 4.025 MB / 0.5274 GB, free: 23.24 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.4822, allocations: 101.7 kB / 0.5275 GB, free: 23.13 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009677/0.4832, allocations: 4.019 MB / 0.5315 GB, free: 19.49 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006883/0.4839, allocations: 1.666 MB / 0.5331 GB, free: 17.85 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001303/0.4852, allocations: 1.481 MB / 0.5345 GB, free: 16.36 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.62e-05/0.4852, allocations: 305.1 kB / 0.5348 GB, free: 16.06 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/0.4882, allocations: 3.699 MB / 0.5384 GB, free: 12.36 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003622/0.4918, allocations: 6.531 MB / 0.5448 GB, free: 4.527 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008969/0.5007, allocations: 10.85 MB / 0.5554 GB, free: 8.344 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.451e-05/0.5008, allocations: 31.94 kB / 0.5554 GB, free: 8.312 MB / 426.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01304/0.5139, allocations: 11.95 MB / 0.5671 GB, free: 12.28 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.921e-05/0.5139, allocations: 48 kB / 0.5671 GB, free: 12.23 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.402e-05/0.514, allocations: 95.94 kB / 0.5672 GB, free: 12.14 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002924/0.5169, allocations: 1.621 MB / 0.5688 GB, free: 10.5 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.5199, allocations: 1.681 MB / 0.5705 GB, free: 8.816 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/0.5327, allocations: 16.86 MB / 0.5869 GB, free: 7.281 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/0.536, allocations: 0.9664 MB / 0.5879 GB, free: 6.309 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005294/0.5365, allocations: 368 kB / 0.5882 GB, free: 5.949 MB / 458.8 MB 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.004523/0.541, allocations: 3.758 MB / 0.5919 GB, free: 2.176 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004917/0.5415, allocations: 417.3 kB / 0.5923 GB, free: 1.766 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009907/0.5514, allocations: 8.522 MB / 0.6006 GB, free: 9.156 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.5515, allocations: 52 kB / 0.6007 GB, free: 9.105 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.847e-05/0.5515, allocations: 15.94 kB / 0.6007 GB, free: 9.09 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.892e-05/0.5515, allocations: 23.91 kB / 0.6007 GB, free: 9.066 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01888/0.5704, allocations: 16.2 MB / 0.6165 GB, free: 8.82 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5704, allocations: 0 / 0.6165 GB, free: 8.82 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00179/0.5722, allocations: 0.8698 MB / 0.6174 GB, free: 7.949 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002614/0.5748, allocations: 1.518 MB / 0.6189 GB, free: 6.41 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/0.5751, allocations: 115.9 kB / 0.619 GB, free: 6.297 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1666/0.7416, allocations: 16.66 MB / 0.6352 GB, free: 154.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7416, allocations: 3.906 kB / 0.6352 GB, free: 154.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01132/0.7529, allocations: 12.24 MB / 0.6472 GB, free: 149.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.7542, allocations: 1.085 MB / 0.6483 GB, free: 149.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.7545, allocations: 86.91 kB / 0.6483 GB, free: 149.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.7557, allocations: 297 kB / 0.6486 GB, free: 149.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/0.7561, allocations: 340.4 kB / 0.6489 GB, free: 149.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001865/0.7563, allocations: 151.9 kB / 0.6491 GB, free: 149.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002124/0.7584, allocations: 2.571 MB / 0.6516 GB, free: 148.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7584, allocations: 0 / 0.6516 GB, free: 148.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.003997/0.7624, allocations: 2.411 MB / 0.654 GB, free: 147.9 MB / 490.8 MB 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.01024/0.7726, allocations: 12.98 MB / 0.6666 GB, free: 138 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007353/0.78, allocations: 9.011 MB / 0.6754 GB, free: 130.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.78, allocations: 4 kB / 0.6754 GB, free: 130.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003251/0.7832, allocations: 4.18 MB / 0.6795 GB, free: 126.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.7851, allocations: 0.7384 MB / 0.6802 GB, free: 125.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04973/0.8348, allocations: 61.39 MB / 0.7402 GB, free: 60.58 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003363/0.8382, allocations: 5.585 MB / 0.7456 GB, free: 54.95 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003797/0.842, allocations: 3.251 MB / 0.7488 GB, free: 51.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/0.8442, allocations: 3.07 MB / 0.7518 GB, free: 48.62 MB / 490.8 MB Notification: Performance of SimCode: time 1.252e-06/0.8442, allocations: 0 / 0.7518 GB, free: 48.62 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2507/1.095, allocations: 128.4 MB / 0.8772 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/12.11, allocations: 4.984 kB / 0.8772 GB, free: 122.9 MB / 0.4949 GB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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: 14.084619048051536]