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.001229/0.001229, 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.00156/0.00156, 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.982/0.982, allocations: 177 MB / 204.1 MB, free: 5.746 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.894e-06/1.894e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.319e-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.007707/0.00773, allocations: 8.73 MB / 333.2 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006865/0.0146, allocations: 3.244 MB / 336.5 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.01589, allocations: 83.62 kB / 336.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004031/0.01992, allocations: 3.797 MB / 340.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.02252, allocations: 1.538 MB / 341.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.0238, allocations: 1.023 MB / 342.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007576/0.03138, allocations: 9.629 MB / 352.6 MB, free: 3.742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01297/0.04435, allocations: 12.88 MB / 365.4 MB, free: 6.719 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00729/0.05164, allocations: 7.509 MB / 373 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.05641, allocations: 5.505 MB / 378.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001278/0.05768, allocations: 1.402 MB / 379.9 MB, free: 8.281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.05965, allocations: 1.64 MB / 381.5 MB, free: 6.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001442/0.06109, allocations: 2.981 MB / 384.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003198/0.06429, allocations: 3.68 MB / 388.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01136/0.07565, allocations: 19.18 MB / 407.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.07566, allocations: 3.938 kB / 407.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.07566, allocations: 4 kB / 407.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000276/0.07593, 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.01743/0.09336, allocations: 12.3 MB / 419.6 MB, free: 364 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.09341, allocations: 15.97 kB / 419.7 MB, free: 348 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/0.09468, allocations: 1.328 MB / 421 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/0.1169, allocations: 8.417 MB / 429.4 MB, free: 6.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009394/0.1263, allocations: 6.019 MB / 435.4 MB, free: 0.4922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.1266, allocations: 0.6584 MB / 436.1 MB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001246/0.1279, allocations: 0.8671 MB / 436.9 MB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3307/0.4585, allocations: 16.28 MB / 453.2 MB, free: 94.81 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002065/0.4587, allocations: 7.078 kB / 453.2 MB, free: 94.81 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001144/0.4599, allocations: 369.1 kB / 453.6 MB, free: 94.81 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004401/0.4603, allocations: 0.5551 MB / 454.1 MB, free: 94.79 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01774/0.4781, allocations: 15.69 MB / 469.8 MB, free: 89.88 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0405/0.5186, allocations: 43.09 MB / 0.5009 GB, free: 49.84 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008332/0.5269, allocations: 8.468 MB / 0.5092 GB, free: 41.84 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002719/0.5296, allocations: 3.245 MB / 0.5123 GB, free: 38.59 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.5299, allocations: 115.9 kB / 0.5125 GB, free: 38.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.5299, allocations: 86.56 kB / 0.5125 GB, free: 38.38 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 6.793e-06/0.5299, allocations: 0 / 0.5125 GB, free: 38.38 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.01179/0.5417, allocations: 11.1 MB / 0.5234 GB, free: 27.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.5417, allocations: 125.1 kB / 0.5235 GB, free: 27.13 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003156/0.5449, allocations: 4.022 MB / 0.5274 GB, free: 23.23 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001795/0.5451, allocations: 105.7 kB / 0.5275 GB, free: 23.12 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009691/0.546, allocations: 4.023 MB / 0.5315 GB, free: 19.48 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005875/0.5466, allocations: 1.67 MB / 0.5331 GB, free: 17.83 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.5479, allocations: 1.477 MB / 0.5345 GB, free: 16.34 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.55e-05/0.5479, allocations: 301.1 kB / 0.5348 GB, free: 16.05 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002799/0.5507, allocations: 3.699 MB / 0.5384 GB, free: 12.34 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003626/0.5543, allocations: 6.535 MB / 0.5448 GB, free: 4.512 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008543/0.5629, allocations: 10.85 MB / 0.5554 GB, free: 8.324 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.395e-05/0.5629, allocations: 27.94 kB / 0.5554 GB, free: 8.297 MB / 426.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01362/0.5765, allocations: 11.95 MB / 0.5671 GB, free: 12.27 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.5766, allocations: 48 kB / 0.5671 GB, free: 12.22 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-05/0.5767, allocations: 96.25 kB / 0.5672 GB, free: 12.12 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002938/0.5796, allocations: 1.62 MB / 0.5688 GB, free: 10.48 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003533/0.5831, allocations: 1.677 MB / 0.5705 GB, free: 8.805 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.5958, allocations: 16.86 MB / 0.5869 GB, free: 7.262 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004079/0.5999, allocations: 0.9625 MB / 0.5879 GB, free: 6.293 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006525/0.6006, allocations: 375.9 kB / 0.5882 GB, free: 5.926 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.005373/0.6059, allocations: 3.75 MB / 0.5919 GB, free: 2.16 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005914/0.6065, allocations: 417.3 kB / 0.5923 GB, free: 1.75 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009848/0.6164, allocations: 8.522 MB / 0.6006 GB, free: 9.141 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/0.6164, allocations: 48 kB / 0.6007 GB, free: 9.094 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/0.6164, allocations: 15.94 kB / 0.6007 GB, free: 9.078 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.938e-05/0.6165, allocations: 27.91 kB / 0.6007 GB, free: 9.051 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/0.6358, allocations: 16.2 MB / 0.6165 GB, free: 8.801 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/0.6358, allocations: 4.031 kB / 0.6165 GB, free: 8.797 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/0.6375, allocations: 0.8698 MB / 0.6174 GB, free: 7.926 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002608/0.6401, allocations: 1.518 MB / 0.6189 GB, free: 6.387 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/0.6403, allocations: 112 kB / 0.619 GB, free: 6.277 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1856/0.826, allocations: 16.66 MB / 0.6352 GB, free: 154.5 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.826, allocations: 6.625 kB / 0.6352 GB, free: 154.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01105/0.837, allocations: 12.24 MB / 0.6472 GB, free: 149.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.8384, allocations: 1.094 MB / 0.6483 GB, free: 149.5 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/0.8387, allocations: 83.62 kB / 0.6483 GB, free: 149.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.8399, allocations: 299.1 kB / 0.6486 GB, free: 149.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004454/0.8404, allocations: 341.8 kB / 0.649 GB, free: 149.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001885/0.8406, allocations: 140.3 kB / 0.6491 GB, free: 149.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002296/0.8428, allocations: 2.575 MB / 0.6516 GB, free: 148.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8428, allocations: 0 / 0.6516 GB, free: 148.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.004601/0.8474, allocations: 2.41 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.01057/0.858, allocations: 12.98 MB / 0.6666 GB, free: 138 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.007974/0.866, allocations: 9.006 MB / 0.6754 GB, free: 130.2 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.866, allocations: 0 / 0.6754 GB, free: 130.2 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003323/0.8693, allocations: 4.185 MB / 0.6795 GB, free: 126.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.8714, allocations: 0.737 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.05316/0.9246, allocations: 61.4 MB / 0.7402 GB, free: 60.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003239/0.9278, allocations: 5.581 MB / 0.7456 GB, free: 54.95 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.003836/0.9316, allocations: 3.251 MB / 0.7488 GB, free: 51.69 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00225/0.9339, allocations: 3.074 MB / 0.7518 GB, free: 48.62 MB / 490.8 MB Notification: Performance of SimCode: time 2.445e-06/0.9339, allocations: 0 / 0.7518 GB, free: 48.62 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2973/1.231, allocations: 128.4 MB / 0.8772 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.56, allocations: 2.812 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 16.50163063313812]