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.000926/0.000926, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009166/0.0009166, allocations: 139.9 kB / 24.89 MB, free: 9.207 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.9267/0.9267, allocations: 173.3 MB / 201.5 MB, free: 9.211 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.433e-06/1.433e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.358e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006409/0.006432, allocations: 4.573 MB / 273.1 MB, free: 1.574 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.009958, allocations: 1.712 MB / 274.8 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004687/0.01043, allocations: 31.81 kB / 274.8 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.0111, allocations: 270.2 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.01293, allocations: 0.7146 MB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005848/0.01352, allocations: 223.5 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.01582, allocations: 1.96 MB / 278 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006748/0.0165, allocations: 0.6877 MB / 278.7 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.01781, allocations: 1.29 MB / 280 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001182/0.019, allocations: 1.049 MB / 281 MB, free: 9.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003067/0.0193, allocations: 188 kB / 281.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004786/0.01978, allocations: 303.7 kB / 281.5 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.0201, allocations: 0.557 MB / 282 MB, free: 8.531 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005308/0.02063, allocations: 0.6235 MB / 282.7 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.02193, allocations: 1.593 MB / 284.3 MB, free: 6.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.02193, allocations: 7.875 kB / 284.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.02193, allocations: 0 / 284.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.151e-05/0.02197, allocations: 0 / 284.3 MB, free: 6.301 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.002448/0.02442, allocations: 1.956 MB / 286.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.02446, allocations: 12.92 kB / 286.2 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.02548, allocations: 428.3 kB / 286.7 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.02626, allocations: 0.6259 MB / 287.3 MB, free: 3.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/0.02632, allocations: 99.05 kB / 287.4 MB, free: 3.129 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.02645, allocations: 136.4 kB / 287.5 MB, free: 2.996 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.02758, allocations: 1.155 MB / 288.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.02761, allocations: 7.875 kB / 288.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-05/0.02769, allocations: 59.94 kB / 288.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.02773, allocations: 46 kB / 288.8 MB, free: 1.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.02823, allocations: 327 kB / 289.1 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1122/0.1405, allocations: 3.484 MB / 292.6 MB, free: 24.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.1415, allocations: 0.5939 MB / 293.2 MB, free: 24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.1417, allocations: 152.5 kB / 293.3 MB, free: 23.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/0.1429, allocations: 0.8644 MB / 294.2 MB, free: 23.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1429, allocations: 45.34 kB / 294.2 MB, free: 23.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.304e-06/0.1429, allocations: 0.5 kB / 294.2 MB, free: 23.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001194/0.1441, allocations: 0.5705 MB / 294.8 MB, free: 23.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.1441, allocations: 91.28 kB / 294.9 MB, free: 23.4 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005485/0.1447, allocations: 0.6377 MB / 295.5 MB, free: 23.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.1447, allocations: 36.14 kB / 295.6 MB, free: 23.25 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.1449, allocations: 0.5865 MB / 296.2 MB, free: 22.98 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.049e-05/0.145, allocations: 190.4 kB / 296.3 MB, free: 22.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.1452, allocations: 123.8 kB / 296.5 MB, free: 22.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.055e-05/0.1452, allocations: 331.3 kB / 296.8 MB, free: 22.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1453, allocations: 57.66 kB / 296.8 MB, free: 22.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.1455, allocations: 231.6 kB / 297.1 MB, free: 22.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003362/0.1458, allocations: 354.3 kB / 297.4 MB, free: 22.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1458, allocations: 1.438 kB / 297.4 MB, free: 22.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004939/0.1463, allocations: 373.7 kB / 297.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1463, allocations: 7.422 kB / 297.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1464, allocations: 6.031 kB / 297.8 MB, free: 22.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1464, allocations: 12.81 kB / 297.8 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.1469, allocations: 211.9 kB / 298 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1469, allocations: 9.547 kB / 298 MB, free: 22.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.1472, allocations: 62.34 kB / 298.1 MB, free: 22.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.1472, allocations: 24.16 kB / 298.1 MB, free: 22.09 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.0002294/0.1475, allocations: 155 kB / 298.3 MB, free: 21.97 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.1476, allocations: 79.97 kB / 298.3 MB, free: 21.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.1481, allocations: 333.3 kB / 298.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.1481, allocations: 10 kB / 298.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1481, allocations: 6.438 kB / 298.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.1481, allocations: 3.938 kB / 298.7 MB, free: 21.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.1492, allocations: 0.784 MB / 299.5 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1492, allocations: 0.9688 kB / 299.5 MB, free: 21.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.1496, allocations: 112.2 kB / 299.6 MB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003508/0.1499, allocations: 127.1 kB / 299.7 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.15, allocations: 18.56 kB / 299.7 MB, free: 21.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/0.1515, allocations: 2.048 MB / 301.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1515, allocations: 1.094 kB / 301.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006684/0.1522, allocations: 0.6188 MB / 302.4 MB, free: 19.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.552e-05/0.1523, allocations: 90.41 kB / 302.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.1524, allocations: 21.36 kB / 302.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.1526, allocations: 37.81 kB / 302.5 MB, free: 19.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.1527, allocations: 50.8 kB / 302.6 MB, free: 19.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.1527, allocations: 12.84 kB / 302.6 MB, free: 19.87 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002997/0.153, allocations: 315.2 kB / 302.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.153, allocations: 0 / 302.9 MB, free: 19.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008022/0.1538, allocations: 367.3 kB / 303.3 MB, free: 19.76 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.0002663/0.1541, allocations: 124 kB / 303.4 MB, free: 19.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000422/0.1545, allocations: 266.5 kB / 303.6 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-05/0.1545, allocations: 9.312 kB / 303.6 MB, free: 19.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/0.1549, allocations: 353.6 kB / 304 MB, free: 19.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005116/0.1554, allocations: 166.3 kB / 304.2 MB, free: 19.51 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.1582, allocations: 2.205 MB / 306.4 MB, free: 18.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.1585, allocations: 360.5 kB / 306.7 MB, free: 18.41 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003034/0.1588, allocations: 109.5 kB / 306.8 MB, free: 18.39 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003308/0.1592, allocations: 222.2 kB / 307 MB, free: 18.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.522e-06/0.1592, allocations: 0 / 307 MB, free: 18.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01635/0.1755, allocations: 12.21 MB / 319.2 MB, free: 8.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 -s gbode -gbm=radauIIA3 -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.9473009807989]