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.001936/0.001936, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002359/0.002359, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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 1.596/1.596, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",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.1.|resistor_e.i.2.|resistor_s.i.1.|resistor_s.i.2.|resistor_m.i.1.|resistor_m.i.2.",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.25e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008341/0.008363, allocations: 5.907 MB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004235/0.0126, allocations: 2.184 MB / 280.3 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005945/0.01319, allocations: 55.62 kB / 280.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.01403, allocations: 373.4 kB / 280.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.01623, allocations: 0.8776 MB / 281.6 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.01705, allocations: 359.2 kB / 281.9 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004056/0.02111, allocations: 3.299 MB / 285.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.02273, allocations: 1.082 MB / 286.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.02533, allocations: 1.879 MB / 288.2 MB, free: 1.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002403/0.02774, allocations: 1.524 MB / 289.7 MB, free: 156 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1123/0.1401, allocations: 295 kB / 290 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.1415, allocations: 417.8 kB / 290.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007313/0.1422, allocations: 0.8875 MB / 291.3 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001306/0.1435, allocations: 1.012 MB / 292.3 MB, free: 17.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004382/0.1479, allocations: 4.182 MB / 296.5 MB, free: 17.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1479, allocations: 1.688 kB / 296.5 MB, free: 17.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1479, allocations: 0 / 296.5 MB, free: 17.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001037/0.148, allocations: 1.281 kB / 296.5 MB, free: 17.32 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.007954/0.156, allocations: 3.456 MB / 300 MB, free: 16.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.156, allocations: 18.14 kB / 300 MB, free: 16.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004406/0.1604, allocations: 1.056 MB / 301 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/0.1634, allocations: 1.732 MB / 302.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.1635, allocations: 174.5 kB / 302.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003683/0.1639, allocations: 234.1 kB / 303.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004925/0.1688, allocations: 3.45 MB / 306.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.1689, allocations: 0 / 306.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002422/0.1691, allocations: 94.22 kB / 306.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.1692, allocations: 86.11 kB / 306.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003926/0.1731, allocations: 2.868 MB / 309.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01169/0.1848, allocations: 8.194 MB / 317.9 MB, free: 3.555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.188, allocations: 1.835 MB / 319.7 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009367/0.189, allocations: 0.7605 MB / 320.5 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003813/0.1928, allocations: 2.057 MB / 322.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.1928, allocations: 50.64 kB / 322.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of pre-optimization done (n=92): time 2.344e-06/0.1928, allocations: 0 / 322.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.009113/0.2019, allocations: 4.171 MB / 326.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.747e-05/0.202, allocations: 115.2 kB / 326.8 MB, free: 10.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.2046, allocations: 1.596 MB / 328.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.2048, allocations: 45.7 kB / 328.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.2058, allocations: 1.148 MB / 329.6 MB, free: 7.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000381/0.2062, allocations: 364.4 kB / 330 MB, free: 7.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004199/0.2066, allocations: 246.8 kB / 330.2 MB, free: 7.109 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.2068, allocations: 357.9 kB / 330.6 MB, free: 6.754 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.208, allocations: 0.631 MB / 331.2 MB, free: 6.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.2096, allocations: 1.02 MB / 332.2 MB, free: 4.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002815/0.2124, allocations: 1.686 MB / 333.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.2124, allocations: 0 / 333.9 MB, free: 3.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004193/0.2166, allocations: 2.018 MB / 335.9 MB, free: 1.211 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.2166, allocations: 12 kB / 335.9 MB, free: 1.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/0.2167, allocations: 12.88 kB / 336 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004915/0.2171, allocations: 129.8 kB / 336.1 MB, free: 1.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.2185, allocations: 333 kB / 336.4 MB, free: 0.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00363/0.2222, allocations: 3.17 MB / 339.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.2236, allocations: 103.7 kB / 339.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.2237, allocations: 55.94 kB / 339.7 MB, free: 13.24 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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.001631/0.2253, allocations: 0.8385 MB / 340.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004342/0.2258, allocations: 187 kB / 340.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/0.2287, allocations: 1.385 MB / 342.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.2287, allocations: 12 kB / 342.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.2287, allocations: 8 kB / 342.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.2288, allocations: 7.969 kB / 342.2 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.233, allocations: 1.973 MB / 344.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.233, allocations: 0 / 344.1 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008886/0.2339, allocations: 187.3 kB / 344.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009935/0.2348, allocations: 298.4 kB / 344.6 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.684e-05/0.2349, allocations: 35.97 kB / 344.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006971/0.2419, allocations: 5.849 MB / 350.5 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.2419, allocations: 7.984 kB / 350.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/0.2466, allocations: 2.568 MB / 353.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.2471, allocations: 186.8 kB / 353.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001968/0.2473, allocations: 31.98 kB / 353.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009021/0.2482, allocations: 87.91 kB / 353.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/0.2484, allocations: 96.31 kB / 353.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.2485, allocations: 31.98 kB / 353.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.2503, allocations: 1.099 MB / 354.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2503, allocations: 4 kB / 354.6 MB, free: 14.05 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001707/0.252, allocations: 444 kB / 355 MB, free: 13.62 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * 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,16,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000344/0.2524, allocations: 172 kB / 355.2 MB, free: 13.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003257/0.2556, allocations: 1.667 MB / 356.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2556, allocations: 0 / 356.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002106/0.2577, allocations: 1.157 MB / 358 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.2593, allocations: 272.1 kB / 358.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008094/0.2674, allocations: 4.627 MB / 362.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001961/0.2693, allocations: 1.542 MB / 364.5 MB, free: 4.094 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001277/0.2706, allocations: 447.2 kB / 364.9 MB, free: 3.652 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.2709, allocations: 100.5 kB / 365 MB, free: 3.555 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.2709, allocations: 0 / 365 MB, free: 3.555 MB / 314.7 MB Notification: Performance of Templates: time 0.0387/0.3096, allocations: 19.35 MB / 384.4 MB, free: 0.582 MB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.321909110061824]