Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001221/0.001222, allocations: 182.8 kB / 8.135 MB, free: 2.109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009285/0.0009284, allocations: 94.78 kB / 280.8 MB, free: 1.32 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.446e-06, allocations: 4 kB / 336.5 MB, free: 9.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2613, allocations: 50.39 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3677, allocations: 85.03 MB / 471.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.3681, allocations: 85.39 kB / 472 MB, free: 1.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07841/0.4465, allocations: 30.91 MB / 0.4912 GB, free: 2.543 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.636e-05/0.4466, allocations: 35.94 kB / 0.4912 GB, free: 2.508 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003405/0.45, allocations: 1.681 MB / 0.4928 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.45, allocations: 11.97 kB / 0.4928 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/0.4515, allocations: 317.8 kB / 0.4931 GB, free: 456 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1062/0.5578, allocations: 1.091 MB / 0.4942 GB, free: 123.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.5579, allocations: 42.41 kB / 0.4942 GB, free: 123.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.558, allocations: 78.59 kB / 0.4943 GB, free: 123.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001969/0.56, allocations: 1.478 MB / 0.4958 GB, free: 123.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.562, allocations: 1.617 MB / 0.4973 GB, free: 123 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.5621, allocations: 7.203 kB / 0.4974 GB, free: 123 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.5622, allocations: 4.781 kB / 0.4974 GB, free: 123 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-05/0.5622, allocations: 50.91 kB / 0.4974 GB, free: 123 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006813/0.569, allocations: 5.373 MB / 0.5027 GB, free: 121.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.5697, allocations: 0.7635 MB / 0.5034 GB, free: 121.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/0.5702, allocations: 489.8 kB / 0.5039 GB, free: 121.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001877/0.5721, allocations: 1.574 MB / 0.5054 GB, free: 120.7 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.5722, allocations: 41.25 kB / 0.5054 GB, free: 120.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=61): time 2.284e-06/0.5722, allocations: 0 / 0.5054 GB, free: 120.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.00136/0.5735, allocations: 0.8881 MB / 0.5063 GB, free: 120.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.5736, allocations: 84.67 kB / 0.5064 GB, free: 120.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008499/0.5744, allocations: 0.8687 MB / 0.5072 GB, free: 120.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.5745, allocations: 28.92 kB / 0.5073 GB, free: 120.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/0.5747, allocations: 0.5397 MB / 0.5078 GB, free: 120 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.5748, allocations: 207.9 kB / 0.508 GB, free: 119.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.5748, allocations: 5.375 kB / 0.508 GB, free: 119.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.5749, allocations: 331.1 kB / 0.5083 GB, free: 119.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.5753, allocations: 365.8 kB / 0.5087 GB, free: 119.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.5757, allocations: 0.5198 MB / 0.5092 GB, free: 119.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.5763, allocations: 461.4 kB / 0.5096 GB, free: 119.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5763, allocations: 0 / 0.5096 GB, free: 119.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001231/0.5775, allocations: 1.003 MB / 0.5106 GB, free: 119.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5776, allocations: 6.625 kB / 0.5106 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.5776, allocations: 7.5 kB / 0.5106 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.5776, allocations: 7.906 kB / 0.5106 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/0.5785, allocations: 203.1 kB / 0.5108 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.5785, allocations: 7.156 kB / 0.5108 GB, free: 119.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.579, allocations: 89.17 kB / 0.5109 GB, free: 119.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.5791, allocations: 28.53 kB / 0.5109 GB, free: 119.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 90 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.5792, allocations: 120 kB / 0.511 GB, free: 119.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.5793, allocations: 95.75 kB / 0.5111 GB, free: 119.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/0.5806, allocations: 0.7326 MB / 0.5118 GB, free: 119 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.5806, allocations: 6.562 kB / 0.5118 GB, free: 119 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5806, allocations: 3.781 kB / 0.5119 GB, free: 119 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5806, allocations: 7.75 kB / 0.5119 GB, free: 119 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.5833, allocations: 2.234 MB / 0.514 GB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.5833, allocations: 0 / 0.514 GB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.5838, allocations: 112.1 kB / 0.5141 GB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/0.5842, allocations: 153.6 kB / 0.5143 GB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-05/0.5842, allocations: 11.22 kB / 0.5143 GB, free: 118.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/0.5864, allocations: 2.461 MB / 0.5167 GB, free: 117.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5864, allocations: 3 kB / 0.5167 GB, free: 117.2 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001681/0.5881, allocations: 1.539 MB / 0.5182 GB, free: 116.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.5883, allocations: 188.9 kB / 0.5184 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.5885, allocations: 10.92 kB / 0.5184 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/0.5891, allocations: 54.69 kB / 0.5185 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.5892, allocations: 50.77 kB / 0.5185 GB, free: 116.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.5892, allocations: 18 kB / 0.5185 GB, free: 116.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0006898/0.5899, allocations: 0.6721 MB / 0.5192 GB, free: 116.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009082/0.5909, allocations: 350.1 kB / 0.5195 GB, free: 116.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (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) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002126/0.5911, allocations: 151.7 kB / 0.5197 GB, free: 116.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009729/0.5921, allocations: 0.784 MB / 0.5204 GB, free: 116.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5921, allocations: 3.625 kB / 0.5204 GB, free: 116.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007616/0.5928, allocations: 0.5375 MB / 0.521 GB, free: 116.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006984/0.5935, allocations: 134.2 kB / 0.5211 GB, free: 116.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.5973, allocations: 2.301 MB / 0.5233 GB, free: 115.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/0.5985, allocations: 1.587 MB / 0.5249 GB, free: 115 MB / 378.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5985, allocations: 3.688 kB / 0.5249 GB, free: 115 MB / 378.7 MB Notification: Performance of Templates: time 0.01872/0.6172, allocations: 10.76 MB / 0.5354 GB, free: 113.6 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches