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.001321/0.001321, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001342/0.001342, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.396/1.396, allocations: 225.6 MB / 252.5 MB, free: 13.04 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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 51.92 kB / 370.5 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.266, allocations: 52.18 MB / 422.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01202/0.278, allocations: 10.06 MB / 432.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006966/0.285, allocations: 3.361 MB / 436.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.2866, allocations: 87.56 kB / 436.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009015/0.2957, allocations: 3.88 MB / 440 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004409/0.3001, allocations: 1.581 MB / 441.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.3025, allocations: 1.067 MB / 442.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01124/0.3137, allocations: 9.228 MB / 451.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02134/0.3351, allocations: 12.94 MB / 464.8 MB, free: 4.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007662/0.3427, allocations: 5.183 MB / 470 MB, free: 14.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01138/0.3541, allocations: 6.149 MB / 476.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005322/0.3594, allocations: 1.395 MB / 477.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006612/0.366, allocations: 1.629 MB / 479.2 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006249/0.3723, allocations: 2.93 MB / 482.1 MB, free: 2.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01058/0.3829, allocations: 5.455 MB / 487.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02513/0.408, allocations: 18.89 MB / 0.4946 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.408, allocations: 0 / 0.4946 GB, free: 10.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.408, allocations: 0 / 0.4946 GB, free: 10.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006918/0.4087, allocations: 0 / 0.4946 GB, free: 10.43 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.03783/0.4466, allocations: 12.38 MB / 0.5067 GB, free: 13.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4466, allocations: 12.03 kB / 0.5067 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005128/0.4517, allocations: 1.332 MB / 0.508 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04857/0.5003, allocations: 8.538 MB / 0.5163 GB, free: 4.078 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/0.5164, allocations: 6.007 MB / 0.5222 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008146/0.5172, allocations: 0.6584 MB / 0.5229 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003954/0.5211, allocations: 0.8671 MB / 0.5237 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4288/0.95, allocations: 15.97 MB / 0.5393 GB, free: 88.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000276/0.9502, allocations: 5.875 kB / 0.5393 GB, free: 88.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001922/0.9522, allocations: 374.7 kB / 0.5397 GB, free: 88.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005738/0.9527, allocations: 0.5649 MB / 0.5402 GB, free: 88.47 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.025/0.9777, allocations: 15.72 MB / 0.5556 GB, free: 82.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.062/1.04, allocations: 46.59 MB / 0.6011 GB, free: 40.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/1.051, allocations: 8.484 MB / 0.6094 GB, free: 32.12 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003643/1.055, allocations: 3.238 MB / 0.6125 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/1.055, allocations: 107.2 kB / 0.6126 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/1.055, allocations: 82.56 kB / 0.6127 GB, free: 28.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 5.671e-06/1.055, allocations: 0 / 0.6127 GB, free: 28.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.01824/1.074, allocations: 11.07 MB / 0.6235 GB, free: 17.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/1.074, allocations: 129.1 kB / 0.6236 GB, free: 17.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/1.078, allocations: 3.849 MB / 0.6274 GB, free: 13.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004035/1.079, allocations: 97.7 kB / 0.6275 GB, free: 13.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001752/1.081, allocations: 4.047 MB / 0.6314 GB, free: 9.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.082, allocations: 1.691 MB / 0.6331 GB, free: 8.281 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/1.083, allocations: 1.477 MB / 0.6345 GB, free: 6.797 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.909e-05/1.083, allocations: 301.1 kB / 0.6348 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/1.087, allocations: 3.688 MB / 0.6384 GB, free: 2.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006803/1.094, allocations: 6.523 MB / 0.6448 GB, free: 10.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01466/1.109, allocations: 10.83 MB / 0.6554 GB, free: 14.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.648e-05/1.109, allocations: 31.94 kB / 0.6554 GB, free: 14.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02207/1.131, allocations: 11.92 MB / 0.667 GB, free: 2.789 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/1.131, allocations: 44 kB / 0.6671 GB, free: 2.746 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/1.131, allocations: 95.94 kB / 0.6672 GB, free: 2.652 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004683/1.136, allocations: 1.625 MB / 0.6688 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006137/1.142, allocations: 1.673 MB / 0.6704 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02169/1.164, allocations: 17.03 MB / 0.687 GB, free: 13.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005737/1.169, allocations: 0.9859 MB / 0.688 GB, free: 12.61 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/1.171, allocations: 356 kB / 0.6883 GB, free: 12.26 MB / 0.4982 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.006719/1.177, allocations: 3.754 MB / 0.692 GB, free: 8.492 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008322/1.178, allocations: 417.3 kB / 0.6924 GB, free: 8.082 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/1.194, allocations: 8.526 MB / 0.7007 GB, free: 15.47 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.614e-05/1.194, allocations: 55.94 kB / 0.7008 GB, free: 15.42 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/1.194, allocations: 12 kB / 0.7008 GB, free: 15.41 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/1.194, allocations: 23.91 kB / 0.7008 GB, free: 15.38 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03093/1.225, allocations: 16.81 MB / 0.7172 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.225, allocations: 64 / 0.7172 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/1.229, allocations: 0.8698 MB / 0.7181 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004554/1.233, allocations: 1.511 MB / 0.7196 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004896/1.234, allocations: 111.9 kB / 0.7197 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02107/1.255, allocations: 16.84 MB / 0.7361 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.255, allocations: 8 kB / 0.7361 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2868/1.541, allocations: 12.21 MB / 0.748 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004291/1.546, allocations: 1.081 MB / 0.7491 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007898/1.546, allocations: 85.25 kB / 0.7492 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/1.549, allocations: 303.1 kB / 0.7495 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009233/1.55, allocations: 341.9 kB / 0.7498 GB, free: 179 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003206/1.55, allocations: 138.5 kB / 0.7499 GB, free: 179 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00356/1.554, allocations: 2.574 MB / 0.7524 GB, free: 178.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/1.554, allocations: 0 / 0.7524 GB, free: 178.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007876/1.562, allocations: 2.402 MB / 0.7548 GB, free: 178.7 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.01718/1.579, allocations: 12.94 MB / 0.7674 GB, free: 173.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01465/1.594, allocations: 8.983 MB / 0.7762 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.594, allocations: 0 / 0.7762 GB, free: 170.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007106/1.601, allocations: 4.17 MB / 0.7803 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006314/1.607, allocations: 0.7339 MB / 0.781 GB, free: 168 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09551/1.702, allocations: 61.48 MB / 0.841 GB, free: 108.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005603/1.708, allocations: 6.046 MB / 0.8469 GB, free: 102.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006816/1.715, allocations: 3.257 MB / 0.8501 GB, free: 99.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003962/1.719, allocations: 3.042 MB / 0.8531 GB, free: 96.01 MB / 0.545 GB Notification: Performance of SimCode: time 2.375e-06/1.719, allocations: 0 / 0.8531 GB, free: 96.01 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4682/2.187, allocations: 133.2 MB / 0.9832 GB, free: 186.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.39/23.58, allocations: 13.8 kB / 0.9832 GB, free: 186.2 MB / 0.5607 GB " [Timeout remaining time 636] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 30.219960600836203]