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.001766/0.001766, allocations: 117.2 kB / 18.45 MB, free: 4.594 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.002417/0.002417, allocations: 210.6 kB / 21.41 MB, free: 1.645 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.524/1.524, allocations: 227.5 MB / 251.7 MB, free: 52 kB / 190.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.001974/0.001974, allocations: 63.89 kB / 365.1 MB, free: 252 kB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09782/0.0998, allocations: 50.55 MB / 415.6 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01255/0.1124, allocations: 10 MB / 425.6 MB, free: 3.602 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007899/0.1203, allocations: 3.392 MB / 429 MB, free: 204 kB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.1222, allocations: 71.81 kB / 429.1 MB, free: 132 kB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.009357/0.1316, allocations: 3.825 MB / 432.9 MB, free: 12.29 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00507/0.1367, allocations: 1.494 MB / 434.4 MB, free: 10.8 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.1395, allocations: 1.051 MB / 435.4 MB, free: 9.75 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01144/0.1509, allocations: 9.265 MB / 444.7 MB, free: 460 kB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.2321/0.3831, allocations: 20.32 MB / 465 MB, free: 3.551 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.008829/0.392, allocations: 5.057 MB / 470.1 MB, free: 2.102 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.01225/0.4043, allocations: 6.25 MB / 476.3 MB, free: 0 / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.004676/0.409, allocations: 1.399 MB / 477.7 MB, free: 0 / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00643/0.4154, allocations: 1.663 MB / 479.4 MB, free: 15.94 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.006475/0.4219, allocations: 2.921 MB / 482.3 MB, free: 14.09 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01282/0.4348, allocations: 5.45 MB / 487.8 MB, free: 9.84 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02517/0.46, allocations: 18.91 MB / 0.4948 GB, free: 9.465 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4601, allocations: 0 / 0.4948 GB, free: 9.465 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.673e-06/0.4601, allocations: 0 / 0.4948 GB, free: 9.465 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 0.0004173/0.4605, allocations: 0 / 0.4948 GB, free: 9.465 MB / 398.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.0393/0.4998, allocations: 12.46 MB / 0.507 GB, free: 13 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.4999, allocations: 12.03 kB / 0.507 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005531/0.5054, allocations: 1.323 MB / 0.5083 GB, free: 11.67 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05105/0.5565, allocations: 8.414 MB / 0.5165 GB, free: 3.355 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/0.5701, allocations: 5.933 MB / 0.5223 GB, free: 13.64 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007106/0.5708, allocations: 0.6574 MB / 0.5229 GB, free: 12.98 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.003584/0.5744, allocations: 0.865 MB / 0.5238 GB, free: 12.13 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.04239/0.6168, allocations: 16.02 MB / 0.5394 GB, free: 12.09 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003483/0.6172, allocations: 16.17 kB / 0.5394 GB, free: 12.08 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002529/0.6198, allocations: 363 kB / 0.5398 GB, free: 11.73 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006416/0.6204, allocations: 0.5621 MB / 0.5403 GB, free: 11.16 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03245/0.6529, allocations: 15.77 MB / 0.5557 GB, free: 11.37 MB / 462.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08793/0.7409, allocations: 48.68 MB / 0.6033 GB, free: 10.08 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.02394/0.7649, allocations: 19.35 MB / 0.6222 GB, free: 4.625 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.006192/0.7711, allocations: 3.59 MB / 0.6257 GB, free: 1.039 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007302/0.7718, allocations: 304.7 kB / 0.626 GB, free: 0.7344 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.772, allocations: 82.03 kB / 0.626 GB, free: 0.6484 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=468): time 1.014e-05/0.772, allocations: 0 / 0.626 GB, free: 0.6484 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=468): time 0.4027/1.175, allocations: 11.6 MB / 0.6374 GB, free: 152.6 MB / 0.5138 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/1.175, allocations: 134.3 kB / 0.6375 GB, free: 152.5 MB / 0.5138 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006519/1.181, allocations: 3.844 MB / 0.6413 GB, free: 152.3 MB / 0.5138 GB
Notification: Performance of collectPreVariables (initialization): time 0.0009136/1.182, allocations: 105 kB / 0.6414 GB, free: 152.2 MB / 0.5138 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002513/1.185, allocations: 4.045 MB / 0.6453 GB, free: 150.2 MB / 0.5138 GB
Notification: Performance of collectInitialBindings (initialization): time 0.00191/1.187, allocations: 1.687 MB / 0.647 GB, free: 149 MB / 0.5138 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002799/1.19, allocations: 1.493 MB / 0.6484 GB, free: 148.3 MB / 0.5138 GB
Notification: Performance of setup shared object (initialization): time 4.464e-05/1.19, allocations: 305.7 kB / 0.6487 GB, free: 148 MB / 0.5138 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.005496/1.195, allocations: 3.697 MB / 0.6523 GB, free: 146.7 MB / 0.5138 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007243/1.202, allocations: 6.534 MB / 0.6587 GB, free: 141.8 MB / 0.5138 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/1.214, allocations: 10.85 MB / 0.6693 GB, free: 134.7 MB / 0.5138 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001534/1.214, allocations: 30.72 kB / 0.6693 GB, free: 134.7 MB / 0.5138 GB
Notification: Performance of matching and sorting (n=938) (initialization): time 0.01975/1.234, allocations: 12.01 MB / 0.681 GB, free: 130.2 MB / 0.5138 GB
Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/1.234, allocations: 42.94 kB / 0.6811 GB, free: 130.2 MB / 0.5138 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001622/1.234, allocations: 93.72 kB / 0.6812 GB, free: 130.2 MB / 0.5138 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004739/1.239, allocations: 1.612 MB / 0.6828 GB, free: 129.9 MB / 0.5138 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006212/1.245, allocations: 1.673 MB / 0.6844 GB, free: 129.2 MB / 0.5138 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/1.261, allocations: 17.68 MB / 0.7017 GB, free: 112 MB / 0.5138 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006043/1.267, allocations: 0.9741 MB / 0.7026 GB, free: 111 MB / 0.5138 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/1.269, allocations: 371.9 kB / 0.703 GB, free: 110.7 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.006983/1.276, allocations: 3.747 MB / 0.7066 GB, free: 106.9 MB / 0.5138 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000848/1.276, allocations: 417.3 kB / 0.707 GB, free: 106.5 MB / 0.5138 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.29, allocations: 8.572 MB / 0.7154 GB, free: 97.88 MB / 0.5138 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.29, allocations: 48 kB / 0.7154 GB, free: 97.84 MB / 0.5138 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/1.29, allocations: 12 kB / 0.7154 GB, free: 97.82 MB / 0.5138 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.342e-05/1.29, allocations: 23.91 kB / 0.7155 GB, free: 97.8 MB / 0.5138 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/1.314, allocations: 16.84 MB / 0.7319 GB, free: 80.94 MB / 0.5138 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.314, allocations: 0 / 0.7319 GB, free: 80.94 MB / 0.5138 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003507/1.317, allocations: 0.8736 MB / 0.7328 GB, free: 80.07 MB / 0.5138 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004464/1.322, allocations: 1.524 MB / 0.7342 GB, free: 78.53 MB / 0.5138 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008082/1.322, allocations: 111.9 kB / 0.7344 GB, free: 78.42 MB / 0.5138 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/1.337, allocations: 17.46 MB / 0.7514 GB, free: 60.14 MB / 0.5138 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.99e-06/1.337, allocations: 4 kB / 0.7514 GB, free: 60.13 MB / 0.5138 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/1.354, allocations: 12.31 MB / 0.7634 GB, free: 47.61 MB / 0.5138 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002271/1.356, allocations: 1.122 MB / 0.7645 GB, free: 46.47 MB / 0.5138 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006847/1.357, allocations: 84 kB / 0.7646 GB, free: 46.39 MB / 0.5138 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.36, allocations: 299.7 kB / 0.7649 GB, free: 46.09 MB / 0.5138 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/1.36, allocations: 327.5 kB / 0.7652 GB, free: 45.77 MB / 0.5138 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.361, allocations: 148 kB / 0.7653 GB, free: 45.63 MB / 0.5138 GB
Notification: Performance of sorting global known variables: time 0.003353/1.364, allocations: 2.574 MB / 0.7679 GB, free: 43.06 MB / 0.5138 GB
Notification: Performance of sort global known variables: time 1.4e-07/1.364, allocations: 0 / 0.7679 GB, free: 43.06 MB / 0.5138 GB
Notification: Performance of remove unused functions: time 0.007264/1.371, allocations: 2.403 MB / 0.7702 GB, free: 40.65 MB / 0.5138 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.01617/1.387, allocations: 13.02 MB / 0.7829 GB, free: 27.41 MB / 0.5138 GB
Notification: Performance of simCode: created initialization part: time 0.01307/1.4, allocations: 9.409 MB / 0.7921 GB, free: 17.89 MB / 0.5138 GB
Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.401, allocations: 0 / 0.7921 GB, free: 17.89 MB / 0.5138 GB
Notification: Performance of simCode: created simulation system equations: time 0.006485/1.407, allocations: 4.499 MB / 0.7965 GB, free: 13.32 MB / 0.5138 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004162/1.411, allocations: 0.7389 MB / 0.7972 GB, free: 12.59 MB / 0.5138 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4051/1.816, allocations: 61.33 MB / 0.8571 GB, free: 166.1 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01161/1.828, allocations: 6.049 MB / 0.863 GB, free: 165.2 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.01011/1.838, allocations: 3.253 MB / 0.8662 GB, free: 165.1 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007557/1.846, allocations: 3.07 MB / 0.8692 GB, free: 162.6 MB / 0.545 GB
Notification: Performance of SimCode: time 1.883e-06/1.846, allocations: 1.375 kB / 0.8692 GB, free: 162.6 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2398/2.086, allocations: 124.5 MB / 0.9908 GB, free: 54.17 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate platform static: time 20.16/22.25, allocations: 11.78 kB / 0.9908 GB, free: 54.16 MB / 0.545 GB
"
[Timeout remaining time 638]
(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/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]
""
[Timeout remaining time 658]
Reference file matches
[Calling sys.exit(0), Time elapsed: 29.237109534908086]