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.001662/0.001662, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001982/0.001982, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.426/1.426, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001578/0.001578, allocations: 47.92 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2107, allocations: 53.37 MB / 432.3 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007788/0.2185, allocations: 5.882 MB / 438.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004147/0.2227, allocations: 2.157 MB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000569/0.2233, allocations: 55.69 kB / 440.4 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008194/0.2241, allocations: 381.5 kB / 440.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.2261, allocations: 0.8355 MB / 441.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008008/0.2269, allocations: 374.2 kB / 442 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003696/0.2306, allocations: 3.188 MB / 445.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.232, allocations: 1.066 MB / 446.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001614/0.2336, allocations: 1.343 MB / 447.6 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.2359, allocations: 1.681 MB / 449.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004634/0.2364, allocations: 292 kB / 449.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008683/0.2373, allocations: 419.9 kB / 450 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007779/0.238, allocations: 0.8646 MB / 450.8 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.2394, allocations: 1.19 MB / 452 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.2435, allocations: 4.137 MB / 456.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2435, allocations: 0 / 456.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2435, allocations: 0 / 456.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.182e-05/0.2436, allocations: 3.938 kB / 456.2 MB, free: 14.78 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.007886/0.2515, allocations: 3.478 MB / 459.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.2515, allocations: 12.03 kB / 459.7 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004189/0.2557, allocations: 0.7524 MB / 460.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.2594, allocations: 1.691 MB / 462.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.2595, allocations: 169 kB / 462.3 MB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.2599, allocations: 232.1 kB / 462.5 MB, free: 8.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005591/0.2655, allocations: 3.433 MB / 465.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.2656, allocations: 0 / 465.9 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.2658, allocations: 96 kB / 466 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.465e-05/0.2659, allocations: 73.94 kB / 466.1 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004988/0.2708, allocations: 2.862 MB / 469 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0151/0.2859, allocations: 8.02 MB / 477 MB, free: 9.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.2899, allocations: 1.836 MB / 478.8 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001245/0.2912, allocations: 0.7588 MB / 479.6 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0042/0.2954, allocations: 2.055 MB / 481.6 MB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.2954, allocations: 46.89 kB / 481.7 MB, free: 4.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.005e-06/0.2954, allocations: 0 / 481.7 MB, free: 4.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.008316/0.3038, allocations: 4.132 MB / 485.8 MB, free: 500 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.3038, allocations: 119.2 kB / 485.9 MB, free: 356 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/0.3061, allocations: 1.592 MB / 487.5 MB, free: 14.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-05/0.3062, allocations: 45.7 kB / 487.6 MB, free: 14.69 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/0.3071, allocations: 1.145 MB / 488.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.3074, allocations: 368.9 kB / 489.1 MB, free: 13.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.3078, allocations: 238.8 kB / 489.3 MB, free: 12.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.308, allocations: 365.9 kB / 489.7 MB, free: 12.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.3091, allocations: 0.631 MB / 490.3 MB, free: 11.94 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.3105, allocations: 1.019 MB / 491.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.3131, allocations: 1.703 MB / 493 MB, free: 8.895 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.3131, allocations: 4 kB / 493 MB, free: 8.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003447/0.3165, allocations: 1.945 MB / 495 MB, free: 6.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.3166, allocations: 12 kB / 495 MB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.3166, allocations: 12.56 kB / 495 MB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/0.3169, allocations: 129.5 kB / 495.1 MB, free: 6.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/0.3182, allocations: 335.5 kB / 495.4 MB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.3214, allocations: 3.167 MB / 498.6 MB, free: 3.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009963/0.3224, allocations: 103.8 kB / 498.7 MB, free: 2.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3225, allocations: 55.98 kB / 498.8 MB, free: 2.926 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.001289/0.3238, allocations: 0.8328 MB / 499.6 MB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/0.3241, allocations: 155 kB / 499.7 MB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.3268, allocations: 1.385 MB / 0.4894 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3268, allocations: 12 kB / 0.4894 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.3268, allocations: 4 kB / 0.4894 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3268, allocations: 3.984 kB / 0.4894 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.3306, allocations: 1.964 MB / 0.4913 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3306, allocations: 0 / 0.4913 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/0.3315, allocations: 183.8 kB / 0.4915 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006833/0.3322, allocations: 261.3 kB / 0.4917 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-05/0.3322, allocations: 35.97 kB / 0.4918 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006355/0.3386, allocations: 5.829 MB / 0.4975 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3386, allocations: 0 / 0.4975 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/0.3429, allocations: 2.556 MB / 0.5 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/0.3434, allocations: 178.9 kB / 0.5001 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.3436, allocations: 27.98 kB / 0.5002 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/0.3446, allocations: 91.84 kB / 0.5003 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.3448, allocations: 100.1 kB / 0.5004 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/0.3449, allocations: 31.98 kB / 0.5004 GB, free: 4.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001725/0.3466, allocations: 1.103 MB / 0.5015 GB, free: 3.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3466, allocations: 7.938 kB / 0.5015 GB, free: 3.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001576/0.3482, allocations: 455.9 kB / 0.5019 GB, free: 3.301 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.0003156/0.3485, allocations: 163 kB / 0.5021 GB, free: 3.133 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003048/0.3515, allocations: 1.661 MB / 0.5037 GB, free: 1.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3515, allocations: 4 kB / 0.5037 GB, free: 1.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001966/0.3535, allocations: 1.145 MB / 0.5048 GB, free: 272 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.3549, allocations: 257.6 kB / 0.505 GB, free: 16 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007897/0.3628, allocations: 4.717 MB / 0.5097 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/0.3646, allocations: 1.483 MB / 0.5111 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004287/0.365, allocations: 111.4 kB / 0.5112 GB, free: 9.59 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.365, allocations: 4 kB / 0.5112 GB, free: 9.586 MB / 430.1 MB Notification: Performance of Templates: time 0.2332/0.5982, allocations: 58.31 MB / 0.5682 GB, free: 79.19 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.653496467974037]