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.001514/0.001514, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001683/0.001683, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 8.039 MB / 206.1 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 0.001522/0.001522, allocations: 47.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.008446/0.2645, allocations: 6.688 MB / 439.1 MB, free: 232 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004251/0.2687, allocations: 2.285 MB / 441.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005985/0.2693, allocations: 51.69 kB / 441.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008016/0.2701, allocations: 389.4 kB / 441.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001996/0.2721, allocations: 0.8628 MB / 442.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007888/0.2729, allocations: 359.3 kB / 443 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003886/0.2768, allocations: 3.192 MB / 446.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.2783, allocations: 1.102 MB / 447.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.2801, allocations: 1.324 MB / 448.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.2824, allocations: 1.658 MB / 450.3 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004323/0.2828, allocations: 296 kB / 450.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009207/0.2837, allocations: 431.8 kB / 451 MB, free: 4.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007848/0.2845, allocations: 0.8568 MB / 451.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001677/0.2862, allocations: 1.47 MB / 453.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.2906, allocations: 4.109 MB / 457.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2906, allocations: 0 / 457.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2906, allocations: 0 / 457.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.195e-05/0.2907, allocations: 4 kB / 457.4 MB, free: 13.76 MB / 366.1 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.00819/0.2988, allocations: 3.478 MB / 460.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2989, allocations: 12.03 kB / 460.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.303, allocations: 0.7563 MB / 461.7 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.3063, allocations: 1.687 MB / 463.4 MB, free: 7.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.3064, allocations: 172.9 kB / 463.6 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003694/0.3068, allocations: 232.1 kB / 463.8 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005372/0.3121, allocations: 3.207 MB / 467 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.3122, allocations: 0 / 467 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000221/0.3124, allocations: 96 kB / 467.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.098e-05/0.3125, allocations: 70 kB / 467.1 MB, free: 3.906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004927/0.3174, allocations: 2.87 MB / 470 MB, free: 1.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.3326, allocations: 9.042 MB / 479.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003877/0.3365, allocations: 1.843 MB / 480.9 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.3377, allocations: 0.7652 MB / 481.7 MB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00391/0.3416, allocations: 2.25 MB / 483.9 MB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.3416, allocations: 50.81 kB / 484 MB, free: 2.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.214e-06/0.3416, allocations: 0 / 484 MB, free: 2.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.007884/0.3495, allocations: 4.124 MB / 488.1 MB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.3496, allocations: 119.2 kB / 488.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.3518, allocations: 1.621 MB / 489.8 MB, free: 12.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.3519, allocations: 49.7 kB / 489.9 MB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008468/0.3527, allocations: 1.141 MB / 491 MB, free: 11.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.3531, allocations: 372.9 kB / 491.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003503/0.3534, allocations: 242.8 kB / 491.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3536, allocations: 353.9 kB / 492 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.3546, allocations: 0.6388 MB / 492.6 MB, free: 9.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.356, allocations: 1.019 MB / 493.6 MB, free: 8.738 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/0.3584, allocations: 1.691 MB / 495.3 MB, free: 6.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.3584, allocations: 4 kB / 495.3 MB, free: 6.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003418/0.3618, allocations: 1.952 MB / 497.3 MB, free: 4.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.3619, allocations: 14.75 kB / 497.3 MB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.3619, allocations: 15.98 kB / 497.3 MB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.3623, allocations: 126.1 kB / 497.4 MB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3635, allocations: 335.5 kB / 497.7 MB, free: 4.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.3668, allocations: 3.229 MB / 0.4892 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.3678, allocations: 100 kB / 0.4893 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/0.368, allocations: 59.98 kB / 0.4894 GB, free: 0.8242 MB / 398.1 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.001443/0.3694, allocations: 0.8346 MB / 0.4902 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/0.3698, allocations: 166.9 kB / 0.4904 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.3725, allocations: 1.389 MB / 0.4917 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.3725, allocations: 8 kB / 0.4917 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.3726, allocations: 7.938 kB / 0.4917 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.3726, allocations: 11.98 kB / 0.4917 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004197/0.3768, allocations: 2.433 MB / 0.4941 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.3768, allocations: 3.938 kB / 0.4941 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/0.3776, allocations: 187.8 kB / 0.4943 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006609/0.3783, allocations: 250.3 kB / 0.4945 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.4e-05/0.3783, allocations: 35.97 kB / 0.4946 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006151/0.3845, allocations: 5.944 MB / 0.5004 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.3845, allocations: 8.234 kB / 0.5004 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.3886, allocations: 2.55 MB / 0.5029 GB, free: 2.523 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004978/0.3891, allocations: 186.8 kB / 0.5031 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/0.3894, allocations: 27.94 kB / 0.5031 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009449/0.3903, allocations: 95.89 kB / 0.5032 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.3905, allocations: 100.2 kB / 0.5033 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.3906, allocations: 27.98 kB / 0.5033 GB, free: 2.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001826/0.3924, allocations: 1.135 MB / 0.5044 GB, free: 0.957 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3924, allocations: 0 / 0.5044 GB, free: 0.957 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001553/0.394, allocations: 451.9 kB / 0.5048 GB, free: 0.5156 MB / 414.1 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.0003122/0.3943, allocations: 171.2 kB / 0.505 GB, free: 348 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003024/0.3973, allocations: 1.665 MB / 0.5066 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3973, allocations: 128 / 0.5066 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.3992, allocations: 1.148 MB / 0.5077 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/0.401, allocations: 285.2 kB / 0.508 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.41, allocations: 4.721 MB / 0.5126 GB, free: 8.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/0.4121, allocations: 2.049 MB / 0.5146 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/0.4127, allocations: 119.4 kB / 0.5147 GB, free: 6.195 MB / 430.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4127, allocations: 0 / 0.5147 GB, free: 6.195 MB / 430.1 MB Notification: Performance of Templates: time 0.2462/0.6589, allocations: 57.7 MB / 0.5711 GB, free: 75.53 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/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: 10.118916175095364]