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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 199.6 kB / 8.536 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 225.5 MB / 234.4 MB, free: 3.355 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009607/0.0009608, allocations: 94.2 kB / 286.3 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.973e-06, allocations: 0 / 343.1 MB, free: 8.676 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1202, allocations: 51.48 MB / 394.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.326/0.4462, allocations: 87.77 MB / 482.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.4465, allocations: 79.7 kB / 482.5 MB, free: 5.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.134/0.5805, allocations: 53.53 MB / 0.5234 GB, free: 4.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002417/0.5808, allocations: 59.98 kB / 0.5235 GB, free: 4.922 MB / 394.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.008274/0.5891, allocations: 2.586 MB / 0.526 GB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5891, allocations: 8.031 kB / 0.526 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.5937, allocations: 0.6954 MB / 0.5267 GB, free: 1.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004472/0.5982, allocations: 1.652 MB / 0.5283 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.5984, allocations: 72 kB / 0.5284 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007395/0.5991, allocations: 136 kB / 0.5285 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005414/0.6045, allocations: 2.523 MB / 0.531 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005996/0.6106, allocations: 2.736 MB / 0.5336 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-05/0.6107, allocations: 0 / 0.5336 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003618/0.611, allocations: 11.84 kB / 0.5337 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-05/0.6111, allocations: 73.98 kB / 0.5337 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01832/0.6294, allocations: 8.978 MB / 0.5425 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.6317, allocations: 1.48 MB / 0.5439 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001263/0.633, allocations: 0.7714 MB / 0.5447 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005411/0.6384, allocations: 3.228 MB / 0.5478 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.6385, allocations: 46.56 kB / 0.5479 GB, free: 11.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 4.178e-06/0.6385, allocations: 0 / 0.5479 GB, free: 11.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.009074/0.6476, allocations: 3.461 MB / 0.5513 GB, free: 7.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.6477, allocations: 115.2 kB / 0.5514 GB, free: 7.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.6506, allocations: 1.35 MB / 0.5527 GB, free: 5.984 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.6508, allocations: 25.7 kB / 0.5527 GB, free: 5.953 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007549/0.6515, allocations: 0.8836 MB / 0.5536 GB, free: 5.055 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/0.652, allocations: 378.4 kB / 0.554 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.6521, allocations: 0 / 0.554 GB, free: 4.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.6523, allocations: 357.9 kB / 0.5543 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.6533, allocations: 0.6403 MB / 0.5549 GB, free: 3.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/0.6546, allocations: 1.007 MB / 0.5559 GB, free: 2.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001513/0.6561, allocations: 0.8396 MB / 0.5567 GB, free: 1.684 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.6561, allocations: 4 kB / 0.5567 GB, free: 1.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00363/0.6598, allocations: 1.909 MB / 0.5586 GB, free: 15.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.6598, allocations: 7.281 kB / 0.5586 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.6599, allocations: 15.94 kB / 0.5586 GB, free: 15.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.6603, allocations: 125.7 kB / 0.5587 GB, free: 15.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.6618, allocations: 363.6 kB / 0.5591 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.6648, allocations: 3.012 MB / 0.562 GB, free: 12.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.6664, allocations: 95.53 kB / 0.5621 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/0.6666, allocations: 56.06 kB / 0.5622 GB, free: 11.86 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000322/0.6669, allocations: 140.5 kB / 0.5623 GB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004722/0.6674, allocations: 146.2 kB / 0.5624 GB, free: 11.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.6704, allocations: 1.443 MB / 0.5638 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6704, allocations: 12 kB / 0.5639 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.6704, allocations: 4 kB / 0.5639 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.6704, allocations: 7.984 kB / 0.5639 GB, free: 10.09 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006698/0.6771, allocations: 3.61 MB / 0.5674 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6772, allocations: 8.094 kB / 0.5674 GB, free: 6.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6782, allocations: 215.7 kB / 0.5676 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007051/0.679, allocations: 254.3 kB / 0.5679 GB, free: 5.918 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-05/0.6791, allocations: 15.98 kB / 0.5679 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005842/0.6849, allocations: 5.465 MB / 0.5732 GB, free: 100 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.685, allocations: 4.062 kB / 0.5732 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1514/0.8364, allocations: 2.634 MB / 0.5758 GB, free: 144.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.8368, allocations: 248.7 kB / 0.576 GB, free: 144.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002306/0.8371, allocations: 18.42 kB / 0.576 GB, free: 144.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009311/0.838, allocations: 91.41 kB / 0.5761 GB, free: 144.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.8382, allocations: 72.02 kB / 0.5762 GB, free: 144.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.8383, allocations: 38.77 kB / 0.5762 GB, free: 144.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.00116/0.8394, allocations: 1.02 MB / 0.5772 GB, free: 144.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001357/0.8408, allocations: 418.6 kB / 0.5776 GB, free: 144.7 MB / 442.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,reluctance_s[2].V_m.im,reluctance_s[3].V_m.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002708/0.8411, allocations: 162.2 kB / 0.5778 GB, free: 144.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.843, allocations: 1.669 MB / 0.5794 GB, free: 144.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.843, allocations: 2.719 kB / 0.5794 GB, free: 144.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.8443, allocations: 1.089 MB / 0.5805 GB, free: 144.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.8453, allocations: 210.4 kB / 0.5807 GB, free: 144.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005666/0.8509, allocations: 3.884 MB / 0.5845 GB, free: 143.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001725/0.8527, allocations: 2.234 MB / 0.5866 GB, free: 142.6 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.8527, allocations: 0 / 0.5866 GB, free: 142.6 MB / 442.7 MB Notification: Performance of Templates: time 0.03257/0.8853, allocations: 18.79 MB / 0.605 GB, free: 141.8 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches