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.0015/0.0015, allocations: 116.7 kB / 20.44 MB, free: 1.324 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.001944/0.001944, allocations: 205.2 kB / 23.74 MB, free: 4.551 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.463/1.463, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.001945/0.001945, allocations: 67.83 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2557, allocations: 53.4 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01337/0.269, allocations: 10.08 MB / 441.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00744/0.2765, allocations: 3.419 MB / 444.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001821/0.2783, allocations: 79.62 kB / 444.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009608/0.2879, allocations: 3.881 MB / 448.7 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004928/0.2928, allocations: 1.555 MB / 450.2 MB, free: 3.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.2958, allocations: 1.082 MB / 451.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.3077, allocations: 9.344 MB / 460.6 MB, free: 9.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02076/0.3284, allocations: 12.96 MB / 473.6 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007437/0.3359, allocations: 5.171 MB / 478.8 MB, free: 6.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01075/0.3466, allocations: 6.169 MB / 484.9 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003633/0.3502, allocations: 1.398 MB / 486.3 MB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005135/0.3554, allocations: 1.656 MB / 488 MB, free: 13.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004777/0.3601, allocations: 2.923 MB / 490.9 MB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009724/0.3699, allocations: 5.463 MB / 496.4 MB, free: 5.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02232/0.3922, allocations: 18.9 MB / 0.5032 GB, free: 2.262 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3922, allocations: 0 / 0.5032 GB, free: 2.262 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3922, allocations: 0 / 0.5032 GB, free: 2.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004498/0.3927, allocations: 0 / 0.5032 GB, free: 2.262 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.03489/0.4275, allocations: 12.38 MB / 0.5153 GB, free: 5.805 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.4276, allocations: 12.03 kB / 0.5153 GB, free: 5.793 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003977/0.4316, allocations: 1.332 MB / 0.5166 GB, free: 4.453 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04999/0.4816, allocations: 8.421 MB / 0.5248 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/0.4966, allocations: 6.023 MB / 0.5307 GB, free: 5.93 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007506/0.4973, allocations: 0.6623 MB / 0.5314 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003334/0.5006, allocations: 0.8632 MB / 0.5322 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3969/0.8976, allocations: 16.02 MB / 0.5478 GB, free: 80.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002521/0.8978, allocations: 11.64 kB / 0.5479 GB, free: 80.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002097/0.8999, allocations: 367 kB / 0.5482 GB, free: 80.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004249/0.9003, allocations: 0.5588 MB / 0.5487 GB, free: 79.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/0.9254, allocations: 15.77 MB / 0.5642 GB, free: 71.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06143/0.9868, allocations: 46.69 MB / 0.6097 GB, free: 25.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/0.9994, allocations: 8.5 MB / 0.618 GB, free: 17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003665/1.003, allocations: 3.246 MB / 0.6212 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003385/1.003, allocations: 150 kB / 0.6214 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/1.003, allocations: 82.56 kB / 0.6214 GB, free: 13.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.371e-06/1.003, allocations: 4 kB / 0.6214 GB, free: 13.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01898/1.022, allocations: 11.11 MB / 0.6323 GB, free: 2.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/1.023, allocations: 125.1 kB / 0.6324 GB, free: 2.281 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005099/1.028, allocations: 3.846 MB / 0.6362 GB, free: 14.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004749/1.028, allocations: 109.6 kB / 0.6363 GB, free: 14.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002949/1.031, allocations: 4.044 MB / 0.6402 GB, free: 10.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001788/1.033, allocations: 1.686 MB / 0.6419 GB, free: 9.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002361/1.035, allocations: 1.496 MB / 0.6433 GB, free: 7.586 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/1.035, allocations: 305.1 kB / 0.6436 GB, free: 7.285 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005906/1.041, allocations: 3.688 MB / 0.6472 GB, free: 3.594 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008489/1.05, allocations: 6.531 MB / 0.6536 GB, free: 11.76 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/1.065, allocations: 10.86 MB / 0.6642 GB, free: 15.57 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.732e-05/1.065, allocations: 27.94 kB / 0.6642 GB, free: 15.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02717/1.093, allocations: 11.96 MB / 0.6759 GB, free: 3.512 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.093, allocations: 47.94 kB / 0.6759 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001835/1.093, allocations: 99.94 kB / 0.676 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008178/1.101, allocations: 1.624 MB / 0.6776 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/1.112, allocations: 1.665 MB / 0.6793 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03128/1.143, allocations: 17.05 MB / 0.6959 GB, free: 14.31 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008412/1.151, allocations: 0.9781 MB / 0.6969 GB, free: 13.33 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001446/1.153, allocations: 364 kB / 0.6972 GB, free: 12.97 MB / 0.5138 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.009482/1.162, allocations: 3.758 MB / 0.7009 GB, free: 9.203 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001386/1.164, allocations: 413.3 kB / 0.7013 GB, free: 8.797 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02378/1.188, allocations: 8.526 MB / 0.7096 GB, free: 188 kB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.648e-05/1.188, allocations: 51.94 kB / 0.7096 GB, free: 136 kB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-05/1.188, allocations: 12 kB / 0.7097 GB, free: 124 kB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.31e-05/1.188, allocations: 23.91 kB / 0.7097 GB, free: 100 kB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.034/1.222, allocations: 16.86 MB / 0.7261 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/1.222, allocations: 3.938 kB / 0.7262 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00385/1.226, allocations: 0.866 MB / 0.727 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004921/1.23, allocations: 1.514 MB / 0.7285 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005926/1.231, allocations: 115.9 kB / 0.7286 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2273/1.458, allocations: 16.86 MB / 0.7451 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.458, allocations: 0 / 0.7451 GB, free: 172.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/1.475, allocations: 12.25 MB / 0.757 GB, free: 169.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002655/1.478, allocations: 1.084 MB / 0.7581 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007055/1.478, allocations: 87.75 kB / 0.7582 GB, free: 168.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002363/1.481, allocations: 305.3 kB / 0.7584 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006994/1.481, allocations: 338.6 kB / 0.7588 GB, free: 168.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002832/1.482, allocations: 143.9 kB / 0.7589 GB, free: 168.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003305/1.485, allocations: 2.578 MB / 0.7614 GB, free: 167.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.485, allocations: 0 / 0.7614 GB, free: 167.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006433/1.491, allocations: 2.406 MB / 0.7638 GB, free: 167.2 MB / 0.545 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.01654/1.508, allocations: 12.97 MB / 0.7764 GB, free: 161.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0125/1.52, allocations: 9.007 MB / 0.7852 GB, free: 154.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.52, allocations: 0 / 0.7852 GB, free: 154.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006305/1.527, allocations: 4.184 MB / 0.7893 GB, free: 151 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/1.531, allocations: 0.7376 MB / 0.79 GB, free: 150.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07485/1.606, allocations: 61.41 MB / 0.85 GB, free: 86.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006011/1.612, allocations: 6.05 MB / 0.8559 GB, free: 80.23 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006647/1.618, allocations: 3.251 MB / 0.8591 GB, free: 76.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004181/1.622, allocations: 3.073 MB / 0.8621 GB, free: 73.9 MB / 0.545 GB Notification: Performance of SimCode: time 1.734e-06/1.622, allocations: 3.938 kB / 0.8621 GB, free: 73.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4386/2.061, allocations: 133.8 MB / 0.9928 GB, free: 168.9 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.21/24.27, allocations: 6.484 kB / 0.9928 GB, free: 168.9 MB / 0.5607 GB " [Timeout remaining time 636] (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: 27.265053810999234]