Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.0009221/0.0009221, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009007/0.0009007, allocations: 138.6 kB / 24.97 MB, free: 9.309 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.9271/0.9271, allocations: 173.3 MB / 201.5 MB, free: 9.293 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 268.1 MB, free: 6.695 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.516e-05, allocations: 2.312 kB / 268.1 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.004248/0.004263, allocations: 4.604 MB / 272.7 MB, free: 2.062 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002347/0.00661, allocations: 1.65 MB / 274.3 MB, free: 416 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.006948, allocations: 31.81 kB / 274.4 MB, free: 384 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.007451, allocations: 262.1 kB / 274.6 MB, free: 120 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.008632, allocations: 0.7187 MB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.008951, allocations: 223.5 kB / 275.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.01042, allocations: 1.937 MB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006892/0.01111, allocations: 0.676 MB / 278.2 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.01214, allocations: 1.154 MB / 279.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000739/0.01288, allocations: 0.9899 MB / 280.3 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000155/0.01303, allocations: 184 kB / 280.5 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003515/0.01338, allocations: 307.7 kB / 280.8 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000311/0.01369, allocations: 0.5609 MB / 281.3 MB, free: 9.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.01412, allocations: 0.6236 MB / 282 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.01525, allocations: 1.612 MB / 283.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.01525, allocations: 0 / 283.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01525, allocations: 0 / 283.6 MB, free: 7.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.01526, allocations: 0 / 283.6 MB, free: 7.078 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002705/0.01797, allocations: 2.304 MB / 285.9 MB, free: 4.73 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.01801, allocations: 8.922 kB / 285.9 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.01917, allocations: 0.5345 MB / 286.4 MB, free: 4.188 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.0201, allocations: 0.9226 MB / 287.4 MB, free: 3.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-05/0.02015, allocations: 95.05 kB / 287.4 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.02029, allocations: 140.4 kB / 287.6 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.02162, allocations: 1.22 MB / 288.8 MB, free: 1.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.02165, allocations: 7.938 kB / 288.8 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.309e-05/0.02173, allocations: 52 kB / 288.9 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.02177, allocations: 49.98 kB / 288.9 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.02265, allocations: 0.4917 MB / 289.4 MB, free: 1.109 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1089/0.1315, allocations: 4.364 MB / 293.8 MB, free: 23.29 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.1328, allocations: 0.7779 MB / 294.5 MB, free: 23.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.1331, allocations: 203.8 kB / 294.7 MB, free: 23.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/0.1343, allocations: 1.191 MB / 295.9 MB, free: 22.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1343, allocations: 43.84 kB / 296 MB, free: 22.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.1343, allocations: 0 / 296 MB, free: 22.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.00146/0.1358, allocations: 0.7252 MB / 296.7 MB, free: 22.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.1358, allocations: 83.02 kB / 296.8 MB, free: 22.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.1366, allocations: 0.8445 MB / 297.6 MB, free: 22.15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.1366, allocations: 37.23 kB / 297.7 MB, free: 22.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/0.137, allocations: 0.7717 MB / 298.4 MB, free: 21.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1371, allocations: 205.3 kB / 298.6 MB, free: 21.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.1372, allocations: 138.9 kB / 298.8 MB, free: 21.68 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.1373, allocations: 0.5114 MB / 299.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1375, allocations: 91.06 kB / 299.4 MB, free: 21.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.1377, allocations: 328.8 kB / 299.7 MB, free: 20.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004319/0.1382, allocations: 465.6 kB / 300.1 MB, free: 20.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1382, allocations: 6.094 kB / 300.2 MB, free: 20.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006547/0.1388, allocations: 0.5185 MB / 300.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1388, allocations: 7.469 kB / 300.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1388, allocations: 8.094 kB / 300.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1389, allocations: 8.891 kB / 300.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004051/0.1393, allocations: 182.1 kB / 300.9 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.1393, allocations: 9.359 kB / 300.9 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.1395, allocations: 78.81 kB / 301 MB, free: 20.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1396, allocations: 29.56 kB / 301 MB, free: 20.36 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.1397, allocations: 199.6 kB / 301.2 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.1399, allocations: 114.8 kB / 301.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005495/0.1404, allocations: 396.4 kB / 301.7 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.1404, allocations: 9.281 kB / 301.7 MB, free: 19.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1404, allocations: 10.77 kB / 301.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1404, allocations: 4.094 kB / 301.7 MB, free: 19.95 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.1418, allocations: 1.29 MB / 303 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1418, allocations: 8.656 kB / 303 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002457/0.1421, allocations: 85.59 kB / 303.1 MB, free: 19.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003559/0.1424, allocations: 157.3 kB / 303.2 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.1425, allocations: 16.28 kB / 303.3 MB, free: 19.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001275/0.1438, allocations: 2.67 MB / 305.9 MB, free: 16.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1438, allocations: 1.375 kB / 305.9 MB, free: 16.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.1445, allocations: 0.8516 MB / 306.8 MB, free: 16.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/0.1446, allocations: 104.7 kB / 306.9 MB, free: 16.35 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.1447, allocations: 17.31 kB / 306.9 MB, free: 16.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.1449, allocations: 63.36 kB / 307 MB, free: 16.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.145, allocations: 57.33 kB / 307 MB, free: 16.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.145, allocations: 19.77 kB / 307 MB, free: 16.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003806/0.1454, allocations: 0.5093 MB / 307.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1454, allocations: 0 / 307.5 MB, free: 16.1 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006494/0.1461, allocations: 368.2 kB / 307.9 MB, free: 16.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002036/0.1463, allocations: 139.8 kB / 308 MB, free: 15.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004368/0.1467, allocations: 328.8 kB / 308.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1467, allocations: 2.422 kB / 308.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.1472, allocations: 449.8 kB / 308.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005628/0.1477, allocations: 168.3 kB / 309 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002447/0.1502, allocations: 2.339 MB / 311.3 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.1504, allocations: 443.3 kB / 311.7 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.1507, allocations: 179.3 kB / 311.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.1508, allocations: 63.27 kB / 312 MB, free: 14.09 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1508, allocations: 0 / 312 MB, free: 14.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01244/0.1633, allocations: 11.4 MB / 323.4 MB, free: 3.637 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.993136462988332]