Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.0008327/0.0008327, allocations: 79.7 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0007827/0.0007827, allocations: 170 kB / 23.95 MB, free: 0.6016 MB / 18.57 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 0.8923/0.8923, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 3.938 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.492e-05, allocations: 2.281 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009237/0.009272, allocations: 8.717 MB / 333.3 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009061/0.01833, allocations: 3.256 MB / 336.6 MB, free: 3.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003103/0.02144, allocations: 83.62 kB / 336.6 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006463/0.0279, allocations: 3.794 MB / 340.4 MB, free: 8 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005673/0.03357, allocations: 1.546 MB / 342 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002586/0.03616, allocations: 1.018 MB / 343 MB, free: 13.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01023/0.04638, allocations: 9.629 MB / 352.6 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01857/0.06495, allocations: 12.87 MB / 365.5 MB, free: 6.762 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.07855, allocations: 7.513 MB / 373 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00904/0.08759, allocations: 5.513 MB / 378.5 MB, free: 9.715 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003836/0.09142, allocations: 1.395 MB / 379.9 MB, free: 8.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005194/0.09662, allocations: 1.648 MB / 381.6 MB, free: 6.672 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.1013, allocations: 2.981 MB / 384.5 MB, free: 3.684 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009339/0.1106, allocations: 3.684 MB / 388.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01917/0.1298, allocations: 19.18 MB / 407.4 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.1298, allocations: 3.938 kB / 407.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1298, allocations: 0 / 407.4 MB, free: 12.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0006453/0.1304, allocations: 0 / 407.4 MB, free: 12.76 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.03153/0.162, allocations: 12.3 MB / 419.7 MB, free: 400 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.162, allocations: 12.03 kB / 419.7 MB, free: 388 kB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004989/0.167, allocations: 1.324 MB / 421 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02718/0.1942, allocations: 8.425 MB / 429.5 MB, free: 6.605 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/0.2063, allocations: 6.031 MB / 435.5 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006036/0.2069, allocations: 0.6585 MB / 436.2 MB, free: 15.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003711/0.2106, allocations: 0.8631 MB / 437 MB, free: 14.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.348/0.5586, allocations: 16.27 MB / 453.3 MB, free: 94.71 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000213/0.5588, allocations: 9.828 kB / 453.3 MB, free: 94.71 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/0.5602, allocations: 367.9 kB / 453.7 MB, free: 94.71 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004539/0.5606, allocations: 0.5549 MB / 454.2 MB, free: 94.68 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02177/0.5824, allocations: 15.69 MB / 469.9 MB, free: 89.77 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05823/0.6406, allocations: 43.1 MB / 0.501 GB, free: 49.89 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009345/0.65, allocations: 8.443 MB / 0.5092 GB, free: 41.91 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/0.6534, allocations: 3.253 MB / 0.5124 GB, free: 38.66 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.6537, allocations: 115.9 kB / 0.5125 GB, free: 38.54 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.6537, allocations: 82.56 kB / 0.5126 GB, free: 38.45 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 7.214e-06/0.6537, allocations: 3.719 kB / 0.5126 GB, free: 38.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.01421/0.668, allocations: 11.09 MB / 0.5234 GB, free: 27.34 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.668, allocations: 125.1 kB / 0.5236 GB, free: 27.2 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/0.6718, allocations: 4.039 MB / 0.5275 GB, free: 23.28 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000568/0.6724, allocations: 101.7 kB / 0.5276 GB, free: 23.18 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.6736, allocations: 4.026 MB / 0.5315 GB, free: 19.54 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/0.6748, allocations: 1.66 MB / 0.5332 GB, free: 17.89 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.6761, allocations: 1.481 MB / 0.5346 GB, free: 16.41 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.6762, allocations: 301.1 kB / 0.5349 GB, free: 16.11 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00354/0.6797, allocations: 3.699 MB / 0.5385 GB, free: 12.41 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/0.6836, allocations: 6.531 MB / 0.5449 GB, free: 4.578 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009397/0.693, allocations: 10.85 MB / 0.5555 GB, free: 8.391 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.061e-05/0.6931, allocations: 31.94 kB / 0.5555 GB, free: 8.359 MB / 426.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01585/0.7089, allocations: 11.95 MB / 0.5672 GB, free: 12.33 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.889e-05/0.709, allocations: 44 kB / 0.5672 GB, free: 12.29 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/0.7091, allocations: 95.94 kB / 0.5673 GB, free: 12.19 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002809/0.7119, allocations: 1.62 MB / 0.5689 GB, free: 10.55 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003796/0.7157, allocations: 1.677 MB / 0.5705 GB, free: 8.867 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.7294, allocations: 16.87 MB / 0.587 GB, free: 7.32 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005358/0.7348, allocations: 0.9703 MB / 0.5879 GB, free: 6.344 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/0.736, allocations: 364 kB / 0.5883 GB, free: 5.988 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.005982/0.742, allocations: 3.758 MB / 0.592 GB, free: 2.215 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007711/0.7427, allocations: 417.3 kB / 0.5924 GB, free: 1.805 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01021/0.7529, allocations: 8.522 MB / 0.6007 GB, free: 9.195 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.1e-05/0.753, allocations: 52 kB / 0.6007 GB, free: 9.145 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.109e-05/0.753, allocations: 15.94 kB / 0.6008 GB, free: 9.129 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.014e-05/0.753, allocations: 23.91 kB / 0.6008 GB, free: 9.105 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0203/0.7733, allocations: 16.2 MB / 0.6166 GB, free: 8.855 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.7733, allocations: 4 kB / 0.6166 GB, free: 8.852 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.7752, allocations: 0.8698 MB / 0.6174 GB, free: 7.98 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.7779, allocations: 1.514 MB / 0.6189 GB, free: 6.445 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003232/0.7783, allocations: 108 kB / 0.619 GB, free: 6.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2112/0.9894, allocations: 16.66 MB / 0.6353 GB, free: 154.4 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.9894, allocations: 9.812 kB / 0.6353 GB, free: 154.4 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.002, allocations: 12.23 MB / 0.6473 GB, free: 149.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.004, allocations: 1.085 MB / 0.6483 GB, free: 149.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004188/1.004, allocations: 87.19 kB / 0.6484 GB, free: 149.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.005, allocations: 305.5 kB / 0.6487 GB, free: 149.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/1.006, allocations: 337.9 kB / 0.649 GB, free: 149.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.006, allocations: 144.1 kB / 0.6492 GB, free: 149.2 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.002831/1.009, allocations: 2.577 MB / 0.6517 GB, free: 148.3 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/1.009, allocations: 0 / 0.6517 GB, free: 148.3 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.005193/1.014, allocations: 2.406 MB / 0.654 GB, free: 147.8 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.01147/1.026, allocations: 12.99 MB / 0.6667 GB, free: 137.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.009769/1.036, allocations: 9.007 MB / 0.6755 GB, free: 130.1 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.036, allocations: 0 / 0.6755 GB, free: 130.1 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004715/1.04, allocations: 4.177 MB / 0.6796 GB, free: 126.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/1.043, allocations: 0.7382 MB / 0.6803 GB, free: 125.9 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06718/1.11, allocations: 61.4 MB / 0.7403 GB, free: 60.57 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004231/1.114, allocations: 5.581 MB / 0.7457 GB, free: 54.95 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00439/1.119, allocations: 3.259 MB / 0.7489 GB, free: 51.69 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00279/1.121, allocations: 3.062 MB / 0.7519 GB, free: 48.62 MB / 490.8 MB Notification: Performance of SimCode: time 1.874e-06/1.121, allocations: 4 kB / 0.7519 GB, free: 48.62 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3014/1.423, allocations: 128.4 MB / 0.8773 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/12.15, allocations: 5.469 kB / 0.8773 GB, free: 122.7 MB / 0.4949 GB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance_fmu --startTime=0 --stopTime=100 --stepSize=0.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_PolyphaseInductance.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 17.092455012723804]