Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002429/0.002429, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.459/1.459, allocations: 207.6 MB / 235.3 MB, free: 9.996 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 52.39 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2994, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.005305/0.3047, allocations: 4.65 MB / 401 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.308, allocations: 1.757 MB / 402.8 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.3086, allocations: 28.38 kB / 402.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.3093, allocations: 270.5 kB / 403 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001629/0.311, allocations: 0.6703 MB / 403.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.3115, allocations: 240.6 kB / 404 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002237/0.3138, allocations: 1.892 MB / 405.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000962/0.3147, allocations: 0.6641 MB / 406.5 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/0.316, allocations: 0.8058 MB / 407.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.3175, allocations: 1.007 MB / 408.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.3178, allocations: 184.5 kB / 408.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.3186, allocations: 305.5 kB / 408.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.3191, allocations: 0.5426 MB / 409.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001012/0.3201, allocations: 0.895 MB / 410.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003536/0.3237, allocations: 2.578 MB / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3237, allocations: 0 / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3237, allocations: 4 kB / 412.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.019e-05/0.3237, allocations: 0 / 412.8 MB, free: 15.2 MB / 334.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.005564/0.3293, allocations: 2.138 MB / 415 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.3293, allocations: 13.11 kB / 415 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002947/0.3296, allocations: 207.9 kB / 415.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001818/0.3315, allocations: 373.4 kB / 415.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.3336, allocations: 1.002 MB / 416.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.943e-05/0.3337, allocations: 104.7 kB / 416.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.3339, allocations: 140.7 kB / 416.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/0.3372, allocations: 1.885 MB / 418.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/0.3372, allocations: 0 / 418.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.3373, allocations: 60.38 kB / 418.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-05/0.3374, allocations: 48.61 kB / 418.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.3402, allocations: 1.682 MB / 420.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009696/0.3499, allocations: 5.458 MB / 425.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.3523, allocations: 1.061 MB / 427 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.3531, allocations: 487 kB / 427.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002562/0.3556, allocations: 1.365 MB / 428.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.3557, allocations: 46.67 kB / 428.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.655e-06/0.3557, allocations: 0 / 428.9 MB, free: 2.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003394/0.3591, allocations: 1.325 MB / 430.2 MB, free: 1.031 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.3591, allocations: 92.98 kB / 430.3 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.3606, allocations: 1.024 MB / 431.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.3607, allocations: 33.7 kB / 431.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005449/0.3612, allocations: 0.7065 MB / 432 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.3614, allocations: 190.4 kB / 432.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.3616, allocations: 126.3 kB / 432.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3618, allocations: 334 kB / 432.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006053/0.3624, allocations: 357 kB / 433 MB, free: 14.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/0.3631, allocations: 0.521 MB / 433.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.3646, allocations: 0.8749 MB / 434.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3646, allocations: 4 kB / 434.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001966/0.3665, allocations: 1.006 MB / 435.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.3666, allocations: 8 kB / 435.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3666, allocations: 11.92 kB / 435.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.3666, allocations: 12 kB / 435.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007708/0.3674, allocations: 175.8 kB / 435.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.3674, allocations: 11.94 kB / 435.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.3681, allocations: 91.62 kB / 435.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.3682, allocations: 31.98 kB / 435.8 MB, free: 11.25 MB / 350.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.001041/0.3692, allocations: 0.5208 MB / 436.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.3694, allocations: 95.44 kB / 436.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.3708, allocations: 0.6773 MB / 437.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3708, allocations: 4 kB / 437.1 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.3709, allocations: 7.938 kB / 437.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.3709, allocations: 3.984 kB / 437.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00294/0.3738, allocations: 1.638 MB / 438.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3738, allocations: 0 / 438.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004619/0.3743, allocations: 103.8 kB / 438.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004489/0.3747, allocations: 156.7 kB / 439 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.3748, allocations: 24.27 kB / 439 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003327/0.3781, allocations: 2.735 MB / 441.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3781, allocations: 4.031 kB / 441.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.3806, allocations: 1.478 MB / 443.2 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003259/0.3809, allocations: 123.3 kB / 443.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/0.381, allocations: 19.98 kB / 443.3 MB, free: 3.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005286/0.3816, allocations: 59.88 kB / 443.4 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.3817, allocations: 59.89 kB / 443.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.3817, allocations: 12 kB / 443.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.3828, allocations: 0.7332 MB / 444.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3828, allocations: 0 / 444.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001155/0.3839, allocations: 362.9 kB / 444.6 MB, free: 2.227 MB / 350.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.002756/0.3867, allocations: 2.056 MB / 446.6 MB, free: 136 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.3881, allocations: 0.7531 MB / 447.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3881, allocations: 4.062 kB / 447.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.3892, allocations: 0.5704 MB / 447.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.3903, allocations: 175.5 kB / 448.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.4065, allocations: 10.55 MB / 458.7 MB, free: 3.781 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001408/0.4079, allocations: 1.499 MB / 460.2 MB, free: 2.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007156/0.4086, allocations: 234.7 kB / 460.4 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006698/0.4093, allocations: 487.2 kB / 460.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of SimCode: time 1.352e-06/0.4093, allocations: 0 / 460.9 MB, free: 1.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08305/0.4923, allocations: 23.7 MB / 484.6 MB, free: 9.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.37, allocations: 0 / 484.6 MB, free: 9.754 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_Components_MultiPhaseInductance.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv. Warning: Get data of variable converter_m.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv failed! Error: Could not read variable converter_m.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv. Warning: Get data of variable converter_m.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.334216253002523]