Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.00159/0.00159, allocations: 125.8 kB / 18.51 MB, free: 4.555 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.001969/0.001969, allocations: 215.2 kB / 21.46 MB, free: 1.602 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.498/1.498, allocations: 230.2 MB / 254.5 MB, free: 15.23 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.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 63.89 kB / 373.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1289, allocations: 53.31 MB / 426.7 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.2366/0.3655, allocations: 6.686 MB / 433.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003648/0.3691, allocations: 2.27 MB / 435.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005926/0.3697, allocations: 51.97 kB / 435.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007366/0.3705, allocations: 383 kB / 436.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.3724, allocations: 0.8571 MB / 436.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007988/0.3732, allocations: 353.5 kB / 437.3 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003627/0.3768, allocations: 3.198 MB / 440.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.3787, allocations: 1.498 MB / 442 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.381, allocations: 1.314 MB / 443.3 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.3836, allocations: 1.653 MB / 444.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005789/0.3842, allocations: 295.3 kB / 445.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.3854, allocations: 440.4 kB / 445.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008543/0.3863, allocations: 0.8573 MB / 446.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00233/0.3886, allocations: 1.465 MB / 448 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006281/0.3949, allocations: 4.131 MB / 452.1 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3949, allocations: 0 / 452.1 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3949, allocations: 0 / 452.1 MB, free: 424 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001349/0.395, allocations: 0 / 452.1 MB, free: 424 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.01147/0.4065, allocations: 3.566 MB / 455.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4065, allocations: 9.719 kB / 455.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005823/0.4071, allocations: 341.2 kB / 456 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004339/0.4115, allocations: 0.7543 MB / 456.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.4158, allocations: 1.733 MB / 458.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.4159, allocations: 173.2 kB / 458.7 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/0.4164, allocations: 234.8 kB / 458.9 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006309/0.4227, allocations: 3.211 MB / 462.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.4228, allocations: 0 / 462.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.4231, allocations: 92.22 kB / 462.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/0.4232, allocations: 89.02 kB / 462.3 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005475/0.4286, allocations: 2.875 MB / 465.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01897/0.4476, allocations: 9.353 MB / 474.5 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005685/0.4533, allocations: 4.316 MB / 478.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.4546, allocations: 0.7678 MB / 479.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005759/0.4604, allocations: 3.15 MB / 482.7 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/0.4604, allocations: 50.81 kB / 482.8 MB, free: 7.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.015e-06/0.4604, allocations: 4 kB / 482.8 MB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.009989/0.4704, allocations: 4.28 MB / 487.1 MB, free: 3.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.4705, allocations: 123.1 kB / 487.2 MB, free: 3.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002919/0.4734, allocations: 1.625 MB / 488.8 MB, free: 1.516 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.4736, allocations: 41.7 kB / 488.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009309/0.4745, allocations: 1.145 MB / 490 MB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/0.4749, allocations: 373 kB / 490.4 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004052/0.4753, allocations: 242.8 kB / 490.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4755, allocations: 357.9 kB / 490.9 MB, free: 15.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.4766, allocations: 0.631 MB / 491.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.478, allocations: 1.014 MB / 492.6 MB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002561/0.4805, allocations: 1.7 MB / 494.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.4806, allocations: 4 kB / 494.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003588/0.4841, allocations: 1.953 MB / 496.3 MB, free: 9.715 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.4842, allocations: 16.03 kB / 496.3 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.4842, allocations: 12 kB / 496.3 MB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003968/0.4846, allocations: 125.6 kB / 496.4 MB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.4859, allocations: 331.5 kB / 496.7 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003448/0.4894, allocations: 3.427 MB / 0.4884 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4906, allocations: 95.67 kB / 0.4885 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/0.4908, allocations: 59.98 kB / 0.4886 GB, free: 5.379 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001587/0.4924, allocations: 0.8367 MB / 0.4894 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.4928, allocations: 169.6 kB / 0.4896 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/0.4956, allocations: 1.379 MB / 0.4909 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/0.4957, allocations: 8 kB / 0.4909 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.4957, allocations: 8 kB / 0.4909 GB, free: 2.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.4957, allocations: 4.266 kB / 0.4909 GB, free: 2.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005473/0.5012, allocations: 2.458 MB / 0.4933 GB, free: 432 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.5012, allocations: 3.984 kB / 0.4933 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008351/0.502, allocations: 187.7 kB / 0.4935 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007189/0.5027, allocations: 256.2 kB / 0.4938 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.5028, allocations: 39.91 kB / 0.4938 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006675/0.5095, allocations: 6.26 MB / 0.4999 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.5095, allocations: 0 / 0.4999 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004562/0.5141, allocations: 2.557 MB / 0.5024 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009141/0.515, allocations: 267.9 kB / 0.5027 GB, free: 6.395 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005451/0.5155, allocations: 27.98 kB / 0.5027 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00128/0.5168, allocations: 95.91 kB / 0.5028 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000271/0.5171, allocations: 96.16 kB / 0.5029 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.5172, allocations: 31.98 kB / 0.5029 GB, free: 6.148 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002322/0.5195, allocations: 1.132 MB / 0.504 GB, free: 5.016 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5195, allocations: 0 / 0.504 GB, free: 5.016 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002189/0.5217, allocations: 451.9 kB / 0.5044 GB, free: 4.574 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005022/0.5267, allocations: 3.164 MB / 0.5075 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003284/0.53, allocations: 1.672 MB / 0.5092 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.53, allocations: 0 / 0.5092 GB, free: 15.67 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/0.5321, allocations: 1.149 MB / 0.5103 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/0.5344, allocations: 278.3 kB / 0.5105 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03362/0.568, allocations: 17.45 MB / 0.5276 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002593/0.5706, allocations: 2.109 MB / 0.5296 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001304/0.5719, allocations: 451.5 kB / 0.5301 GB, free: 9.637 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/0.5731, allocations: 0.8312 MB / 0.5309 GB, free: 8.805 MB / 446.1 MB Notification: Performance of SimCode: time 6.42e-07/0.5731, allocations: 0 / 0.5309 GB, free: 8.805 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09504/0.6682, allocations: 38.68 MB / 0.5687 GB, free: 2.445 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.11, allocations: 11.98 kB / 0.5687 GB, free: 2.434 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 20.072647718247026]