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.001308/0.001308, allocations: 111.8 kB / 20.43 MB, free: 1.473 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.001408/0.001408, allocations: 214 kB / 23.74 MB, free: 4.688 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.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 0.001738/0.001738, allocations: 47.92 kB / 377.8 MB, free: 3.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2824, allocations: 53.36 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01277/0.2952, allocations: 10.07 MB / 441.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007665/0.3028, allocations: 3.427 MB / 444.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.3045, allocations: 83.62 kB / 444.7 MB, free: 9.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009638/0.3141, allocations: 3.878 MB / 448.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005235/0.3194, allocations: 1.569 MB / 450.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.3221, allocations: 1.069 MB / 451.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01209/0.3342, allocations: 9.35 MB / 460.6 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02038/0.3545, allocations: 12.96 MB / 473.6 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008709/0.3632, allocations: 5.183 MB / 478.7 MB, free: 6.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01084/0.3741, allocations: 6.165 MB / 484.9 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003559/0.3776, allocations: 1.395 MB / 486.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004345/0.382, allocations: 1.652 MB / 487.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00372/0.3857, allocations: 2.938 MB / 490.9 MB, free: 10.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009521/0.3952, allocations: 5.447 MB / 496.3 MB, free: 5.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02232/0.4175, allocations: 18.91 MB / 0.5032 GB, free: 2.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.4176, allocations: 0 / 0.5032 GB, free: 2.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4176, allocations: 0 / 0.5032 GB, free: 2.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004248/0.418, allocations: 0 / 0.5032 GB, free: 2.375 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.03927/0.4572, allocations: 12.38 MB / 0.5153 GB, free: 5.914 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.119e-05/0.4573, allocations: 12.03 kB / 0.5153 GB, free: 5.902 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005806/0.4631, allocations: 1.324 MB / 0.5166 GB, free: 4.57 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05003/0.5132, allocations: 8.425 MB / 0.5248 GB, free: 12.13 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01578/0.5289, allocations: 6.023 MB / 0.5307 GB, free: 6.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007931/0.5297, allocations: 0.6662 MB / 0.5313 GB, free: 5.375 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003988/0.5337, allocations: 0.8671 MB / 0.5322 GB, free: 4.508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.488/1.022, allocations: 16.01 MB / 0.5478 GB, free: 80.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004361/1.022, allocations: 6.859 kB / 0.5478 GB, free: 80.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002977/1.025, allocations: 371 kB / 0.5482 GB, free: 80.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005268/1.026, allocations: 0.5645 MB / 0.5487 GB, free: 80.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03119/1.057, allocations: 15.77 MB / 0.5641 GB, free: 72.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07344/1.13, allocations: 46.68 MB / 0.6097 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01393/1.144, allocations: 8.502 MB / 0.618 GB, free: 17.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004661/1.149, allocations: 3.261 MB / 0.6212 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005394/1.149, allocations: 138.5 kB / 0.6213 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.779e-05/1.149, allocations: 82.56 kB / 0.6214 GB, free: 13.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 7.965e-06/1.149, allocations: 0 / 0.6214 GB, free: 13.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02146/1.171, allocations: 11.1 MB / 0.6322 GB, free: 2.648 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/1.171, allocations: 125.1 kB / 0.6324 GB, free: 2.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007697/1.179, allocations: 3.857 MB / 0.6361 GB, free: 14.71 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004752/1.179, allocations: 101.7 kB / 0.6362 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003434/1.183, allocations: 4.045 MB / 0.6402 GB, free: 11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002116/1.185, allocations: 1.692 MB / 0.6418 GB, free: 9.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003628/1.188, allocations: 1.492 MB / 0.6433 GB, free: 7.809 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/1.189, allocations: 305.1 kB / 0.6436 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007032/1.196, allocations: 3.691 MB / 0.6472 GB, free: 3.812 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009557/1.205, allocations: 6.531 MB / 0.6536 GB, free: 11.98 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01664/1.222, allocations: 10.85 MB / 0.6642 GB, free: 15.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/1.222, allocations: 31.94 kB / 0.6642 GB, free: 15.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02591/1.248, allocations: 11.96 MB / 0.6759 GB, free: 3.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001813/1.248, allocations: 47.12 kB / 0.6759 GB, free: 3.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002416/1.248, allocations: 99.94 kB / 0.676 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005481/1.254, allocations: 1.621 MB / 0.6776 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007262/1.261, allocations: 1.669 MB / 0.6792 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/1.285, allocations: 17.06 MB / 0.6959 GB, free: 14.53 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006426/1.291, allocations: 0.9702 MB / 0.6968 GB, free: 13.55 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/1.293, allocations: 371.9 kB / 0.6972 GB, free: 13.19 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.00911/1.302, allocations: 3.75 MB / 0.7008 GB, free: 9.422 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/1.304, allocations: 413.3 kB / 0.7012 GB, free: 9.016 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/1.324, allocations: 8.53 MB / 0.7096 GB, free: 408 kB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.043e-05/1.324, allocations: 52.06 kB / 0.7096 GB, free: 356 kB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.537e-05/1.324, allocations: 16 kB / 0.7096 GB, free: 340 kB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-05/1.324, allocations: 23.91 kB / 0.7097 GB, free: 316 kB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04362/1.368, allocations: 16.86 MB / 0.7261 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.57e-05/1.368, allocations: 0 / 0.7261 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004402/1.372, allocations: 0.8698 MB / 0.727 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005189/1.378, allocations: 1.507 MB / 0.7284 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/1.379, allocations: 116 kB / 0.7286 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2598/1.638, allocations: 16.84 MB / 0.745 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.638, allocations: 11.42 kB / 0.745 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/1.655, allocations: 12.25 MB / 0.757 GB, free: 169.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/1.657, allocations: 1.083 MB / 0.758 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006172/1.658, allocations: 90.91 kB / 0.7581 GB, free: 168.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.66, allocations: 297.8 kB / 0.7584 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007033/1.661, allocations: 348.2 kB / 0.7587 GB, free: 168.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002624/1.661, allocations: 146.3 kB / 0.7589 GB, free: 168.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003405/1.664, allocations: 2.571 MB / 0.7614 GB, free: 167.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/1.664, allocations: 0.875 kB / 0.7614 GB, free: 167.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006404/1.671, allocations: 2.413 MB / 0.7637 GB, free: 167.4 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.01567/1.686, allocations: 12.97 MB / 0.7764 GB, free: 161.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.699, allocations: 9.017 MB / 0.7852 GB, free: 155 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/1.699, allocations: 3.375 kB / 0.7852 GB, free: 155 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005857/1.704, allocations: 4.176 MB / 0.7893 GB, free: 151.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/1.708, allocations: 0.7421 MB / 0.79 GB, free: 150.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07758/1.786, allocations: 61.4 MB / 0.85 GB, free: 86.61 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00491/1.79, allocations: 6.057 MB / 0.8559 GB, free: 80.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006133/1.797, allocations: 3.255 MB / 0.8591 GB, free: 77.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003507/1.8, allocations: 3.061 MB / 0.8621 GB, free: 74.19 MB / 0.545 GB Notification: Performance of SimCode: time 1.061e-06/1.8, allocations: 0 / 0.8621 GB, free: 74.19 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4222/2.222, allocations: 133.8 MB / 0.9928 GB, free: 169 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.55/24.77, allocations: 13.52 kB / 0.9928 GB, free: 169 MB / 0.5607 GB " [Timeout remaining time 635] (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/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_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: 31.760549241211265]