Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007662/0.0007662, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.00184, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0006867/0.0006867, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009254/0.001612, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9346/0.9346, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09108/1.026, allocations: 53.86 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|resistor_e.i.[0-9,]+.|resistor_s.i.[0-9,]+.|resistor_m.i.[0-9,]+.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.404e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006786/0.00681, allocations: 6.46 MB / 251.7 MB, free: 7.078 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004108/0.01092, allocations: 2.338 MB / 254 MB, free: 4.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006518/0.01157, allocations: 51.69 kB / 254.1 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007045/0.01227, allocations: 389.3 kB / 254.4 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.01387, allocations: 0.8659 MB / 255.3 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.0145, allocations: 367.1 kB / 255.7 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002647/0.01715, allocations: 3.331 MB / 259 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.01822, allocations: 1.117 MB / 260.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.02059, allocations: 2.406 MB / 262.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.02249, allocations: 1.735 MB / 264.2 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005581/0.02305, allocations: 292 kB / 264.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007363/0.02378, allocations: 427.7 kB / 265 MB, free: 9.672 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004553/0.02424, allocations: 0.7129 MB / 265.7 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008649/0.0251, allocations: 0.8188 MB / 266.5 MB, free: 8.137 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002045/0.02715, allocations: 2.391 MB / 268.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223e-05/0.02716, allocations: 0 / 268.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.02716, allocations: 0 / 268.9 MB, free: 5.738 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.357e-05/0.02724, allocations: 0 / 268.9 MB, free: 5.738 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: 591 * Number of variables: 591 Notification: Performance of Generate backend data structure: time 0.004286/0.03153, allocations: 3.79 MB / 272.7 MB, free: 1.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.03156, allocations: 8.625 kB / 272.7 MB, free: 1.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002127/0.03369, allocations: 0.8434 MB / 273.5 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.03494, allocations: 0.9946 MB / 274.5 MB, free: 0 / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.09795/0.1329, allocations: 171.3 kB / 274.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000621/0.1335, allocations: 231.8 kB / 274.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002382/0.1359, allocations: 1.935 MB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.1359, allocations: 1.25 kB / 276.8 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.1361, allocations: 93.91 kB / 276.9 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-05/0.1361, allocations: 82.86 kB / 277 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.1371, allocations: 0.5533 MB / 277.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006997/0.1441, allocations: 5.834 MB / 283.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.1457, allocations: 0.968 MB / 284.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.146, allocations: 247 kB / 284.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.1462, allocations: 59.2 kB / 284.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1462, allocations: 48.06 kB / 284.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of pre-optimization done (n=121): time 2.685e-06/0.1462, allocations: 0 / 284.7 MB, free: 11.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=129): time 0.00373/0.15, allocations: 1.983 MB / 286.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.15, allocations: 119.2 kB / 286.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006723/0.1507, allocations: 0.9901 MB / 287.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.1507, allocations: 48.52 kB / 287.9 MB, free: 10.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.151, allocations: 0.9106 MB / 288.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.1512, allocations: 470.4 kB / 289.2 MB, free: 10.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/0.1514, allocations: 245 kB / 289.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 2.662e-05/0.1515, allocations: 310.5 kB / 289.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.1516, allocations: 129.9 kB / 289.9 MB, free: 9.867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.1519, allocations: 0.5032 MB / 290.4 MB, free: 9.461 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005822/0.1525, allocations: 0.8082 MB / 291.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.1525, allocations: 3.406 kB / 291.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.0008465/0.1533, allocations: 0.8044 MB / 292 MB, free: 8.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1534, allocations: 10 kB / 292 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.1534, allocations: 10 kB / 292 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000186/0.1536, allocations: 92.69 kB / 292.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.1544, allocations: 463.1 kB / 292.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.1554, allocations: 2.633 MB / 295.2 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004473/0.1558, allocations: 85.22 kB / 295.3 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.1559, allocations: 47.98 kB / 295.3 MB, free: 6.395 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003203/0.1562, allocations: 203.1 kB / 295.5 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.1563, allocations: 136.5 kB / 295.7 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.157, allocations: 0.7055 MB / 296.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.157, allocations: 14.12 kB / 296.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1571, allocations: 2.812 kB / 296.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1571, allocations: 13.94 kB / 296.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.1592, allocations: 2.148 MB / 298.5 MB, free: 4.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1592, allocations: 4.188 kB / 298.6 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.1597, allocations: 287.9 kB / 298.8 MB, free: 4.508 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.1598, allocations: 154.8 kB / 299 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003267/0.1602, allocations: 204.8 kB / 299.2 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.973e-05/0.1602, allocations: 39.97 kB / 299.2 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.1621, allocations: 4.665 MB / 303.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1621, allocations: 0 / 303.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.1632, allocations: 1.301 MB / 305.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.1633, allocations: 35.98 kB / 305.2 MB, free: 13.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.1637, allocations: 63.97 kB / 305.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.1638, allocations: 105.4 kB / 305.4 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.1639, allocations: 29.02 kB / 305.4 MB, free: 13.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003844/0.1643, allocations: 0.4956 MB / 305.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1643, allocations: 0 / 305.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009737/0.1652, allocations: 468 kB / 306.4 MB, free: 12.81 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im,inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i) * 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 (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (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.0002487/0.1655, allocations: 146.9 kB / 306.5 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009447/0.1664, allocations: 0.8796 MB / 307.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-05/0.1665, allocations: 31.61 kB / 307.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.1674, allocations: 0.8557 MB / 308.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.1691, allocations: 2.709 MB / 311 MB, free: 7.738 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.1823, allocations: 4.078 MB / 315.1 MB, free: 3.613 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005014/0.1828, allocations: 0.6327 MB / 315.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.1834, allocations: 208.4 kB / 315.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/0.184, allocations: 361.1 kB / 316.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of SimCode: time 1.352e-06/0.184, allocations: 0 / 316.3 MB, free: 2.398 MB / 282.7 MB Notification: Performance of Templates: time 0.03257/0.2165, allocations: 22.93 MB / 339.2 MB, free: 11.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.108876347541809]