Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 191.3 kB / 24.49 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 225.7 MB / 253.3 MB, free: 12.87 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 43.94 kB / 371.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2207, allocations: 52.18 MB / 423.4 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01067/0.2314, allocations: 8.702 MB / 432.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006256/0.2376, allocations: 3.182 MB / 435.2 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.239, allocations: 87.56 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008652/0.2477, allocations: 3.592 MB / 438.9 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004497/0.2522, allocations: 1.536 MB / 440.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.2547, allocations: 1.028 MB / 441.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.2656, allocations: 9.218 MB / 450.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02042/0.2861, allocations: 12.94 MB / 463.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007034/0.2931, allocations: 5.179 MB / 468.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009553/0.3026, allocations: 6.149 MB / 475 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003002/0.3057, allocations: 1.395 MB / 476.4 MB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004286/0.3099, allocations: 1.629 MB / 478 MB, free: 7.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003667/0.3136, allocations: 2.927 MB / 480.9 MB, free: 4.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007489/0.3211, allocations: 4.277 MB / 485.2 MB, free: 308 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02128/0.3424, allocations: 18.96 MB / 0.4923 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.3424, allocations: 3.984 kB / 0.4923 GB, free: 13.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3424, allocations: 4 kB / 0.4924 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003927/0.3428, allocations: 0 / 0.4924 GB, free: 13.28 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.03377/0.3765, allocations: 12.38 MB / 0.5044 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3766, allocations: 12.03 kB / 0.5044 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003102/0.3769, allocations: 242.4 kB / 0.5047 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004059/0.381, allocations: 1.332 MB / 0.506 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04619/0.4271, allocations: 8.542 MB / 0.5143 GB, free: 6.676 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01295/0.4401, allocations: 6.015 MB / 0.5202 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007346/0.4408, allocations: 0.6584 MB / 0.5208 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003401/0.4442, allocations: 0.8671 MB / 0.5217 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3961/0.8403, allocations: 16.23 MB / 0.5375 GB, free: 89.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000282/0.8406, allocations: 9.375 kB / 0.5375 GB, free: 89.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/0.8424, allocations: 367.4 kB / 0.5379 GB, free: 89.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006276/0.8431, allocations: 0.5593 MB / 0.5384 GB, free: 89.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02451/0.8676, allocations: 15.72 MB / 0.5538 GB, free: 84.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05427/0.9218, allocations: 42.99 MB / 0.5958 GB, free: 45.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/0.9336, allocations: 8.421 MB / 0.604 GB, free: 37.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003537/0.9372, allocations: 3.239 MB / 0.6072 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.9374, allocations: 87.94 kB / 0.6072 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.9375, allocations: 82.56 kB / 0.6073 GB, free: 33.79 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.494e-06/0.9375, allocations: 0 / 0.6073 GB, free: 33.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01742/0.9549, allocations: 11.07 MB / 0.6181 GB, free: 22.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.955, allocations: 125.1 kB / 0.6183 GB, free: 22.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/0.9592, allocations: 3.854 MB / 0.622 GB, free: 18.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000661/0.9599, allocations: 105.6 kB / 0.6221 GB, free: 18.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.9615, allocations: 4.048 MB / 0.6261 GB, free: 15.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001148/0.9626, allocations: 1.693 MB / 0.6277 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001657/0.9643, allocations: 1.477 MB / 0.6292 GB, free: 11.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.448e-05/0.9643, allocations: 305.1 kB / 0.6295 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003916/0.9683, allocations: 3.684 MB / 0.6331 GB, free: 7.832 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004886/0.9731, allocations: 6.523 MB / 0.6394 GB, free: 16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01539/0.9885, allocations: 10.83 MB / 0.65 GB, free: 3.836 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/0.9886, allocations: 31.94 kB / 0.65 GB, free: 3.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0227/1.011, allocations: 11.92 MB / 0.6617 GB, free: 7.816 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.011, allocations: 44 kB / 0.6617 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/1.012, allocations: 99.94 kB / 0.6618 GB, free: 7.676 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00509/1.017, allocations: 1.621 MB / 0.6634 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/1.023, allocations: 1.665 MB / 0.665 GB, free: 4.367 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02034/1.043, allocations: 16.87 MB / 0.6815 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005044/1.049, allocations: 0.9742 MB / 0.6824 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/1.05, allocations: 360 kB / 0.6828 GB, free: 1.473 MB / 494.1 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.007283/1.057, allocations: 3.758 MB / 0.6865 GB, free: 13.7 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009349/1.058, allocations: 417.3 kB / 0.6869 GB, free: 13.29 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.074, allocations: 8.522 MB / 0.6952 GB, free: 4.68 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.608e-05/1.074, allocations: 55.92 kB / 0.6952 GB, free: 4.625 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.647e-05/1.074, allocations: 16 kB / 0.6952 GB, free: 4.609 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001322/1.074, allocations: 27.91 kB / 0.6953 GB, free: 4.582 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03737/1.112, allocations: 16.15 MB / 0.711 GB, free: 4.258 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/1.112, allocations: 4 kB / 0.7111 GB, free: 4.254 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004098/1.116, allocations: 0.8581 MB / 0.7119 GB, free: 3.395 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005041/1.121, allocations: 1.519 MB / 0.7134 GB, free: 1.855 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000935/1.122, allocations: 104 kB / 0.7135 GB, free: 1.754 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02145/1.143, allocations: 16.68 MB / 0.7298 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.143, allocations: 4 kB / 0.7298 GB, free: 400 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/1.166, allocations: 12.21 MB / 0.7417 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002967/1.169, allocations: 1.082 MB / 0.7427 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000896/1.17, allocations: 88 kB / 0.7428 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.173, allocations: 303.6 kB / 0.7431 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008169/1.174, allocations: 343.3 kB / 0.7434 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003337/1.174, allocations: 136 kB / 0.7436 GB, free: 2.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2003/1.374, allocations: 2.571 MB / 0.7461 GB, free: 184.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.91e-07/1.374, allocations: 0 / 0.7461 GB, free: 184.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008502/1.383, allocations: 2.4 MB / 0.7484 GB, free: 184.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.01701/1.4, allocations: 12.93 MB / 0.7611 GB, free: 180.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.412, allocations: 8.988 MB / 0.7698 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.412, allocations: 3.938 kB / 0.7698 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006178/1.418, allocations: 4.172 MB / 0.7739 GB, free: 175.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004692/1.422, allocations: 0.7401 MB / 0.7746 GB, free: 175.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07784/1.5, allocations: 61.46 MB / 0.8347 GB, free: 114.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004951/1.505, allocations: 5.588 MB / 0.8401 GB, free: 108.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005873/1.511, allocations: 3.255 MB / 0.8433 GB, free: 105.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004479/1.516, allocations: 3.042 MB / 0.8463 GB, free: 102.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.883e-06/1.516, allocations: 1.969 kB / 0.8463 GB, free: 102.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4437/1.959, allocations: 131.1 MB / 0.9743 GB, free: 183.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.26/22.22, allocations: 10.39 kB / 0.9743 GB, free: 183.1 MB / 0.5607 GB " [Timeout remaining time 638] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 656] Reference file matches [Calling sys.exit(0), Time elapsed: 32.8329356580507]