Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001775/0.001775, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 43.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1229, allocations: 53.33 MB / 426.3 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.243/0.3658, allocations: 6.67 MB / 433 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004428/0.3702, allocations: 2.259 MB / 435.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007878/0.371, allocations: 52.38 kB / 435.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008174/0.3718, allocations: 396.8 kB / 435.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.3739, allocations: 0.8574 MB / 436.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.3747, allocations: 347.1 kB / 436.9 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.3787, allocations: 3.191 MB / 440.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.3806, allocations: 1.497 MB / 441.6 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.3828, allocations: 1.331 MB / 442.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.3854, allocations: 1.65 MB / 444.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005548/0.3859, allocations: 294.1 kB / 444.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.387, allocations: 432.4 kB / 445.3 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000769/0.3878, allocations: 0.8611 MB / 446.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001921/0.3897, allocations: 1.456 MB / 447.6 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005679/0.3954, allocations: 4.121 MB / 451.7 MB, free: 188 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3954, allocations: 5.375 kB / 451.7 MB, free: 184 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3954, allocations: 0 / 451.7 MB, free: 184 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001429/0.3955, allocations: 0 / 451.7 MB, free: 184 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01122/0.4068, allocations: 3.553 MB / 455.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.4068, allocations: 9.469 kB / 455.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006086/0.4074, allocations: 337.2 kB / 455.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004497/0.4119, allocations: 0.7544 MB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004022/0.416, allocations: 1.735 MB / 458.1 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.4161, allocations: 174.7 kB / 458.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000514/0.4167, allocations: 229.6 kB / 458.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006293/0.423, allocations: 3.21 MB / 461.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.131e-05/0.423, allocations: 0 / 461.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.4232, allocations: 91.72 kB / 461.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-05/0.4233, allocations: 75.67 kB / 461.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006189/0.4295, allocations: 2.87 MB / 464.7 MB, free: 8.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02265/0.4522, allocations: 9.174 MB / 473.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005949/0.4581, allocations: 4.312 MB / 478.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.4596, allocations: 0.7668 MB / 479 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005824/0.4654, allocations: 3.151 MB / 482.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/0.4654, allocations: 46.83 kB / 482.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.395e-06/0.4654, allocations: 0 / 482.2 MB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.01042/0.4759, allocations: 4.284 MB / 486.5 MB, free: 3.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.863e-05/0.476, allocations: 127.2 kB / 486.6 MB, free: 3.148 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/0.4792, allocations: 1.614 MB / 488.2 MB, free: 1.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.4793, allocations: 49.7 kB / 488.2 MB, free: 1.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.4804, allocations: 1.141 MB / 489.4 MB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004252/0.4808, allocations: 369.1 kB / 489.7 MB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000469/0.4813, allocations: 242.8 kB / 490 MB, free: 15.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4814, allocations: 353.9 kB / 490.3 MB, free: 15.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.4827, allocations: 0.6388 MB / 491 MB, free: 14.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.4842, allocations: 1.015 MB / 492 MB, free: 13.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.487, allocations: 1.693 MB / 493.7 MB, free: 11.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.487, allocations: 4 kB / 493.7 MB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003894/0.4909, allocations: 1.951 MB / 495.6 MB, free: 9.723 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.4909, allocations: 11.94 kB / 495.6 MB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-05/0.4909, allocations: 12 kB / 495.7 MB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004442/0.4914, allocations: 131.8 kB / 495.8 MB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.4927, allocations: 331.5 kB / 496.1 MB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.4962, allocations: 3.431 MB / 499.5 MB, free: 5.539 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.4978, allocations: 107.7 kB / 499.6 MB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/0.4981, allocations: 59.98 kB / 499.7 MB, free: 5.375 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.001983/0.5, allocations: 0.8292 MB / 0.4888 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005707/0.5006, allocations: 159 kB / 0.489 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003139/0.5038, allocations: 1.388 MB / 0.4903 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.5038, allocations: 12 kB / 0.4903 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/0.5038, allocations: 13.34 kB / 0.4903 GB, free: 2.953 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.5038, allocations: 3.984 kB / 0.4903 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/0.5093, allocations: 2.442 MB / 0.4927 GB, free: 440 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.665e-05/0.5093, allocations: 11.88 kB / 0.4927 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008897/0.5102, allocations: 187.8 kB / 0.4929 GB, free: 240 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007923/0.511, allocations: 256.1 kB / 0.4932 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.5111, allocations: 35.98 kB / 0.4932 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006969/0.5181, allocations: 6.265 MB / 0.4993 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5181, allocations: 7.875 kB / 0.4993 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004652/0.5228, allocations: 2.547 MB / 0.5018 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007227/0.5235, allocations: 264 kB / 0.5021 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004846/0.524, allocations: 27.94 kB / 0.5021 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/0.5251, allocations: 91.89 kB / 0.5022 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/0.5254, allocations: 100.1 kB / 0.5023 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.5255, allocations: 31.98 kB / 0.5023 GB, free: 6.145 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002156/0.5277, allocations: 1.132 MB / 0.5034 GB, free: 5.012 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5277, allocations: 4 kB / 0.5034 GB, free: 5.008 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002129/0.5298, allocations: 444 kB / 0.5038 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.005148/0.5349, allocations: 3.166 MB / 0.5069 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004471/0.5394, allocations: 1.677 MB / 0.5086 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/0.5394, allocations: 4 kB / 0.5086 GB, free: 15.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.5428, allocations: 1.146 MB / 0.5097 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.003362/0.5461, allocations: 281.1 kB / 0.5099 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/0.5821, allocations: 17.44 MB / 0.527 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002742/0.5848, allocations: 2.105 MB / 0.529 GB, free: 10.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00144/0.5863, allocations: 463.5 kB / 0.5295 GB, free: 9.633 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/0.5876, allocations: 0.8273 MB / 0.5303 GB, free: 8.805 MB / 446.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5876, allocations: 0 / 0.5303 GB, free: 8.805 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09347/0.6811, allocations: 38.65 MB / 0.568 GB, free: 2.531 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.58, allocations: 14.77 kB / 0.568 GB, free: 2.52 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 17.662718300009146]