Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002531/0.002531, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00287/0.00287, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.882e-05, allocations: 6.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009909/0.009938, allocations: 6.46 MB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004906/0.01484, allocations: 2.23 MB / 281 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008895/0.01573, allocations: 51.69 kB / 281.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.01683, allocations: 377.3 kB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.01948, allocations: 0.8815 MB / 282.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.02047, allocations: 355.2 kB / 282.7 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004551/0.02502, allocations: 3.284 MB / 285.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.02671, allocations: 1.086 MB / 287 MB, free: 3.004 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.02936, allocations: 1.898 MB / 288.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1213/0.1506, allocations: 1.605 MB / 290.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.152, allocations: 294.4 kB / 290.8 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.1535, allocations: 417.6 kB / 291.2 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008507/0.1543, allocations: 0.8984 MB / 292.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.1563, allocations: 1.013 MB / 293.1 MB, free: 16.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.1616, allocations: 4.197 MB / 297.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1616, allocations: 0.5 kB / 297.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1616, allocations: 4.875 kB / 297.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.945e-05/0.1617, allocations: 1.125 kB / 297.3 MB, free: 16.25 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.00813/0.1698, allocations: 3.84 MB / 301.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1698, allocations: 9.406 kB / 301.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/0.1741, allocations: 1.042 MB / 302.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.1771, allocations: 1.533 MB / 303.8 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.1773, allocations: 168.7 kB / 303.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.1776, allocations: 233.7 kB / 304.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004365/0.1819, allocations: 3.403 MB / 307.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.818e-05/0.182, allocations: 3.5 kB / 307.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002169/0.1822, allocations: 93.88 kB / 307.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.294e-05/0.1823, allocations: 69.88 kB / 307.7 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.1858, allocations: 2.553 MB / 310.3 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.1987, allocations: 9.232 MB / 319.5 MB, free: 1.312 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/0.2022, allocations: 1.671 MB / 321.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/0.2034, allocations: 0.6744 MB / 321.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00477/0.2082, allocations: 2.197 MB / 324.1 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/0.2082, allocations: 52.81 kB / 324.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=92): time 2.565e-06/0.2082, allocations: 0 / 324.1 MB, free: 12.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=100): time 0.008475/0.2167, allocations: 3.758 MB / 327.9 MB, free: 8.918 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/0.2168, allocations: 115.3 kB / 328 MB, free: 8.781 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002876/0.2197, allocations: 1.805 MB / 329.8 MB, free: 6.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.971e-05/0.2198, allocations: 41.7 kB / 329.8 MB, free: 6.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.221, allocations: 1.304 MB / 331.1 MB, free: 5.582 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.2215, allocations: 408.5 kB / 331.5 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005025/0.222, allocations: 292.5 kB / 331.8 MB, free: 4.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003685/0.2223, allocations: 0.5773 MB / 332.4 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.2234, allocations: 0.5099 MB / 332.9 MB, free: 3.801 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.225, allocations: 1.089 MB / 334 MB, free: 2.504 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/0.2277, allocations: 1.657 MB / 335.6 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.2277, allocations: 4 kB / 335.6 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003797/0.2315, allocations: 1.755 MB / 337.4 MB, free: 14.99 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.2315, allocations: 12 kB / 337.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.2315, allocations: 15.28 kB / 337.4 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004705/0.232, allocations: 127.3 kB / 337.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.2333, allocations: 330 kB / 337.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.2374, allocations: 4.144 MB / 342 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.2389, allocations: 95.67 kB / 342.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/0.2391, allocations: 59.98 kB / 342.2 MB, free: 10.01 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.001567/0.2407, allocations: 0.7648 MB / 342.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/0.2411, allocations: 191 kB / 343.1 MB, free: 9.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.2439, allocations: 1.186 MB / 344.3 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.2439, allocations: 12 kB / 344.3 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.2439, allocations: 4 kB / 344.3 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.244, allocations: 7.969 kB / 344.3 MB, free: 7.852 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.2495, allocations: 2.477 MB / 346.8 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.2495, allocations: 4 kB / 346.8 MB, free: 5.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008968/0.2504, allocations: 173.8 kB / 347 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.2514, allocations: 290.4 kB / 347.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-05/0.2515, allocations: 31.97 kB / 347.3 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008045/0.2596, allocations: 7.165 MB / 354.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2596, allocations: 0 / 354.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004745/0.2643, allocations: 2.332 MB / 356.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/0.265, allocations: 170.9 kB / 357 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002137/0.2652, allocations: 31.92 kB / 357 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008907/0.2661, allocations: 83.92 kB / 357.1 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.2663, allocations: 107.8 kB / 357.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/0.2664, allocations: 27.98 kB / 357.2 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001869/0.2683, allocations: 1.095 MB / 358.3 MB, free: 9.469 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2683, allocations: 0 / 358.3 MB, free: 9.469 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001886/0.2702, allocations: 447.9 kB / 358.7 MB, free: 9.031 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.0003621/0.2705, allocations: 165 kB / 358.9 MB, free: 8.871 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003094/0.2736, allocations: 1.661 MB / 360.6 MB, free: 7.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2736, allocations: 0 / 360.6 MB, free: 7.223 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.2758, allocations: 1.234 MB / 361.8 MB, free: 5.949 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.2774, allocations: 272.8 kB / 362.1 MB, free: 5.688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008365/0.2858, allocations: 4.271 MB / 366.3 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/0.2876, allocations: 1.398 MB / 367.7 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001212/0.2888, allocations: 355.2 kB / 368.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.2891, allocations: 104.5 kB / 368.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.793e-06/0.2891, allocations: 0 / 368.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Templates: time 0.03884/0.328, allocations: 19.29 MB / 387.5 MB, free: 12.53 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.3842477389844134]