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.0008659/0.0008659, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007943/0.0007943, allocations: 149.1 kB / 23.93 MB, free: 0.6367 MB / 18.57 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 0.8374/0.8374, allocations: 173.3 MB / 200.4 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] 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 1.343e-06/1.343e-06, allocations: 0 / 318.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.006e-05, allocations: 2.281 kB / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007443/0.007463, allocations: 8.693 MB / 327.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005681/0.01314, allocations: 3.182 MB / 330.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.01456, allocations: 87.56 kB / 330.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004467/0.01903, allocations: 3.797 MB / 334.2 MB, free: 6.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.02148, allocations: 1.57 MB / 335.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.02271, allocations: 1.008 MB / 336.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006328/0.02903, allocations: 9.508 MB / 346.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01275/0.04178, allocations: 12.86 MB / 359.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00738/0.04916, allocations: 7.513 MB / 366.7 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00661/0.05577, allocations: 5.509 MB / 372.2 MB, free: 388 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002625/0.0584, allocations: 1.402 MB / 373.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.0604, allocations: 1.62 MB / 375.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001587/0.06199, allocations: 2.981 MB / 378.2 MB, free: 10.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003275/0.06526, allocations: 3.68 MB / 381.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.07687, allocations: 19.16 MB / 401 MB, free: 3.465 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.07687, allocations: 4 kB / 401 MB, free: 3.461 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.07688, allocations: 0 / 401 MB, free: 3.461 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002057/0.07708, allocations: 0 / 401 MB, free: 3.461 MB / 362.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.01767/0.09475, allocations: 12.3 MB / 413.3 MB, free: 7.086 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.09479, allocations: 8.031 kB / 413.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001339/0.09613, allocations: 1.328 MB / 414.7 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02294/0.1191, allocations: 8.541 MB / 423.2 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009488/0.1286, allocations: 6.008 MB / 429.2 MB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.129, allocations: 0.6584 MB / 429.9 MB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/0.1308, allocations: 0.8632 MB / 430.7 MB, free: 5.594 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01937/0.1502, allocations: 16.23 MB / 447 MB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.1503, allocations: 15.98 kB / 447 MB, free: 5.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006935/0.151, allocations: 364 kB / 447.3 MB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003503/0.1513, allocations: 0.562 MB / 447.9 MB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2764/0.4277, allocations: 15.64 MB / 463.5 MB, free: 102.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.4624, allocations: 43.01 MB / 0.4947 GB, free: 63.36 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007194/0.4696, allocations: 8.419 MB / 0.5029 GB, free: 55.41 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.4719, allocations: 3.241 MB / 0.5061 GB, free: 52.16 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.4721, allocations: 87.94 kB / 0.5061 GB, free: 52.08 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4721, allocations: 82.56 kB / 0.5062 GB, free: 51.99 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 5.681e-06/0.4721, allocations: 0 / 0.5062 GB, free: 51.99 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.01148/0.4836, allocations: 11.07 MB / 0.517 GB, free: 40.91 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.4836, allocations: 133.1 kB / 0.5172 GB, free: 40.76 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003074/0.4867, allocations: 4.028 MB / 0.5211 GB, free: 36.86 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.4869, allocations: 101.7 kB / 0.5212 GB, free: 36.75 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001254/0.4882, allocations: 4.027 MB / 0.5251 GB, free: 33.1 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006968/0.4889, allocations: 1.661 MB / 0.5267 GB, free: 31.46 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/0.4901, allocations: 1.457 MB / 0.5282 GB, free: 29.99 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.783e-05/0.4901, allocations: 305.1 kB / 0.5285 GB, free: 29.69 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002798/0.4929, allocations: 3.688 MB / 0.5321 GB, free: 26 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.4964, allocations: 6.527 MB / 0.5384 GB, free: 18.18 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006601/0.503, allocations: 10.83 MB / 0.549 GB, free: 6.008 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.044e-05/0.503, allocations: 24 kB / 0.549 GB, free: 5.984 MB / 410.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0115/0.5145, allocations: 11.93 MB / 0.5607 GB, free: 9.98 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.5146, allocations: 44 kB / 0.5607 GB, free: 9.938 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-05/0.5146, allocations: 92 kB / 0.5608 GB, free: 9.848 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/0.5174, allocations: 1.621 MB / 0.5624 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/0.5202, allocations: 1.669 MB / 0.564 GB, free: 6.535 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.5324, allocations: 16.87 MB / 0.5805 GB, free: 4.973 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/0.5355, allocations: 0.9703 MB / 0.5814 GB, free: 3.996 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/0.5359, allocations: 356 kB / 0.5818 GB, free: 3.648 MB / 442.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.00447/0.5403, allocations: 3.758 MB / 0.5855 GB, free: 15.87 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/0.5408, allocations: 421.3 kB / 0.5859 GB, free: 15.46 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009095/0.5499, allocations: 8.514 MB / 0.5942 GB, free: 6.859 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/0.5499, allocations: 48 kB / 0.5942 GB, free: 6.812 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/0.55, allocations: 15.94 kB / 0.5942 GB, free: 6.797 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.703e-05/0.55, allocations: 27.89 kB / 0.5943 GB, free: 6.77 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01761/0.5676, allocations: 16.16 MB / 0.61 GB, free: 6.57 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5676, allocations: 0 / 0.61 GB, free: 6.57 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001744/0.5694, allocations: 0.862 MB / 0.6109 GB, free: 5.707 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00249/0.5718, allocations: 1.519 MB / 0.6124 GB, free: 4.168 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/0.572, allocations: 104 kB / 0.6125 GB, free: 4.066 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1851/0.7571, allocations: 16.66 MB / 0.6287 GB, free: 143.7 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7571, allocations: 2.219 kB / 0.6287 GB, free: 143.7 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.7686, allocations: 12.2 MB / 0.6406 GB, free: 139.1 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.7703, allocations: 1.085 MB / 0.6417 GB, free: 138.6 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000292/0.7705, allocations: 90.28 kB / 0.6418 GB, free: 138.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.7717, allocations: 300.6 kB / 0.6421 GB, free: 138.5 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.7721, allocations: 336.9 kB / 0.6424 GB, free: 138.4 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.7723, allocations: 137.9 kB / 0.6425 GB, free: 138.4 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002244/0.7745, allocations: 2.571 MB / 0.645 GB, free: 137.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7745, allocations: 0 / 0.645 GB, free: 137.5 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004094/0.7786, allocations: 2.402 MB / 0.6474 GB, free: 137 MB / 474.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.009936/0.7885, allocations: 12.95 MB / 0.66 GB, free: 126.5 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007982/0.7965, allocations: 8.986 MB / 0.6688 GB, free: 118.7 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.7965, allocations: 4 kB / 0.6688 GB, free: 118.7 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003365/0.7999, allocations: 4.162 MB / 0.6729 GB, free: 114.8 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/0.8021, allocations: 0.7418 MB / 0.6736 GB, free: 114.1 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05322/0.8554, allocations: 61.46 MB / 0.7336 GB, free: 48.67 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003194/0.8586, allocations: 5.588 MB / 0.7391 GB, free: 43.05 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003795/0.8623, allocations: 3.251 MB / 0.7423 GB, free: 39.79 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/0.8645, allocations: 3.043 MB / 0.7452 GB, free: 36.75 MB / 474.8 MB Notification: Performance of SimCode: time 1.222e-06/0.8645, allocations: 4 kB / 0.7452 GB, free: 36.74 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2611/1.126, allocations: 127.3 MB / 0.8696 GB, free: 105.8 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.16, allocations: 3.281 kB / 0.8696 GB, free: 105.8 MB / 490.8 MB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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: 16.925718197599053]