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.0008717/0.0008717, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008766/0.0008766, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8807/0.8807, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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 1.673e-06/1.673e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.823e-05/1.991e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004096/0.004116, allocations: 4.209 MB / 322.6 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.006948, allocations: 1.6 MB / 324.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004203/0.007368, allocations: 31.81 kB / 324.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.007877, allocations: 278 kB / 324.5 MB, free: 224 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.009179, allocations: 0.7061 MB / 325.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.009538, allocations: 215.5 kB / 325.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.01107, allocations: 1.945 MB / 327.4 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006301/0.0117, allocations: 0.6759 MB / 328.1 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009554/0.01266, allocations: 1.142 MB / 329.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008088/0.01346, allocations: 0.9275 MB / 330.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001649/0.01363, allocations: 188 kB / 330.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.01405, allocations: 299.8 kB / 330.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005358/0.01458, allocations: 0.5569 MB / 331.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.01502, allocations: 0.6197 MB / 331.8 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.01666, allocations: 2.618 MB / 334.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.01667, allocations: 0 / 334.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01667, allocations: 0 / 334.4 MB, free: 6.273 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.01669, allocations: 0 / 334.4 MB, free: 6.273 MB / 298.7 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.002744/0.01944, allocations: 2.126 MB / 336.5 MB, free: 4.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.01948, allocations: 16.86 kB / 336.6 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/0.01965, allocations: 202.8 kB / 336.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.02056, allocations: 379.6 kB / 337.1 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.02195, allocations: 1.049 MB / 338.2 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.022, allocations: 99.05 kB / 338.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.02213, allocations: 132.4 kB / 338.4 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.02421, allocations: 2.045 MB / 340.4 MB, free: 96 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.02423, allocations: 0 / 340.4 MB, free: 96 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.299e-05/0.02431, allocations: 52 kB / 340.5 MB, free: 44 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.02436, allocations: 46.05 kB / 340.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/0.02616, allocations: 1.695 MB / 342.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005592/0.03175, allocations: 4.997 MB / 347.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.03315, allocations: 1.068 MB / 348.3 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.03361, allocations: 476.5 kB / 348.8 MB, free: 7.531 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.035, allocations: 1.233 MB / 350 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.03503, allocations: 42.5 kB / 350 MB, free: 6.227 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.03503, allocations: 0 / 350 MB, free: 6.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.001887/0.03692, allocations: 1.338 MB / 351.4 MB, free: 4.879 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.03696, allocations: 92.91 kB / 351.5 MB, free: 4.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.03814, allocations: 1.036 MB / 352.5 MB, free: 3.723 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.03818, allocations: 37.7 kB / 352.5 MB, free: 3.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.03848, allocations: 0.6832 MB / 353.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.652e-05/0.03858, allocations: 202.3 kB / 353.4 MB, free: 2.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.03872, allocations: 126.3 kB / 353.5 MB, free: 2.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.249e-05/0.0388, allocations: 337.9 kB / 353.9 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/0.03916, allocations: 357 kB / 354.2 MB, free: 1.977 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.03965, allocations: 0.5199 MB / 354.7 MB, free: 1.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/0.04048, allocations: 0.8751 MB / 355.6 MB, free: 456 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.04048, allocations: 0 / 355.6 MB, free: 456 kB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001062/0.04154, allocations: 1.006 MB / 356.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.04156, allocations: 8 kB / 356.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.04157, allocations: 8.031 kB / 356.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.04159, allocations: 8 kB / 356.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.04199, allocations: 183.8 kB / 356.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.04201, allocations: 15.88 kB / 356.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.04233, allocations: 87.47 kB / 356.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.04236, allocations: 28 kB / 357 MB, free: 15.1 MB / 330.7 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.0006148/0.04298, allocations: 0.5286 MB / 357.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.04308, allocations: 95.39 kB / 357.6 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008565/0.04394, allocations: 0.6774 MB / 358.3 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.04394, allocations: 8 kB / 358.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.04396, allocations: 0 / 358.3 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.04396, allocations: 11.97 kB / 358.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001918/0.04588, allocations: 1.522 MB / 359.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.04589, allocations: 4 kB / 359.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002387/0.04612, allocations: 95.95 kB / 359.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002933/0.04642, allocations: 148.7 kB / 360 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/0.04645, allocations: 16 kB / 360.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.04851, allocations: 2.718 MB / 362.8 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.04851, allocations: 3.938 kB / 362.8 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.04999, allocations: 1.474 MB / 364.3 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.05016, allocations: 123.3 kB / 364.4 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.05023, allocations: 16 kB / 364.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.05052, allocations: 55.92 kB / 364.4 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.05062, allocations: 55.84 kB / 364.5 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.05065, allocations: 19.98 kB / 364.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007117/0.05136, allocations: 0.7293 MB / 365.2 MB, free: 6.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.05136, allocations: 7.938 kB / 365.3 MB, free: 6.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008526/0.05221, allocations: 358.9 kB / 365.6 MB, free: 6.234 MB / 330.7 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.002029/0.05424, allocations: 2.067 MB / 367.7 MB, free: 4.129 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.05516, allocations: 0.7499 MB / 368.4 MB, free: 3.379 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.05517, allocations: 4 kB / 368.4 MB, free: 3.375 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00071/0.05588, allocations: 0.575 MB / 369 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.05649, allocations: 175.5 kB / 369.2 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/0.06743, allocations: 10.49 MB / 379.7 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006568/0.06809, allocations: 0.9052 MB / 380.6 MB, free: 6.887 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004979/0.06859, allocations: 230.7 kB / 380.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.06899, allocations: 488.3 kB / 381.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.06899, allocations: 0 / 381.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04261/0.1116, allocations: 24.64 MB / 405.9 MB, free: 13.85 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.667/7.779, allocations: 11.94 kB / 405.9 MB, free: 13.84 MB / 378.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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: 9.766204579733312]