Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001093/0.001094, allocations: 199.2 kB / 8.542 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 225.5 MB / 234.4 MB, free: 3.297 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008461/0.0008461, allocations: 94.98 kB / 286.3 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.008e-05/1.01e-05, allocations: 4 kB / 343.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09371, allocations: 51.47 MB / 394.6 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2721/0.3659, allocations: 96.29 MB / 490.9 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3662, allocations: 85 kB / 491 MB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.9299/1.296, allocations: 327.2 MB / 0.7991 GB, free: 53.93 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000454/1.297, allocations: 171.3 kB / 0.7992 GB, free: 53.92 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03635/1.333, allocations: 9.381 MB / 0.8084 GB, free: 51.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.333, allocations: 7.844 kB / 0.8084 GB, free: 51.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03325/1.366, allocations: 5.079 MB / 0.8133 GB, free: 50.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01642/1.383, allocations: 6.284 MB / 0.8195 GB, free: 49.78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006064/1.383, allocations: 272.5 kB / 0.8197 GB, free: 49.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003848/1.387, allocations: 488 kB / 0.8202 GB, free: 49.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03078/1.418, allocations: 13.47 MB / 0.8334 GB, free: 48.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03599/1.454, allocations: 14.39 MB / 0.8474 GB, free: 42.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003396/1.454, allocations: 19.41 kB / 0.8474 GB, free: 42.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002393/1.457, allocations: 3.219 kB / 0.8474 GB, free: 42.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008715/1.458, allocations: 0.8694 MB / 0.8483 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07359/1.531, allocations: 48.37 MB / 0.8955 GB, free: 5.758 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008824/1.54, allocations: 6.818 MB / 0.9022 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00522/1.545, allocations: 3.621 MB / 0.9057 GB, free: 11.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/1.546, allocations: 278.1 kB / 0.906 GB, free: 11.2 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.263e-05/1.546, allocations: 82.56 kB / 0.9061 GB, free: 11.11 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 6.261e-06/1.546, allocations: 4 kB / 0.9061 GB, free: 11.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.01642/1.563, allocations: 8.1 MB / 0.914 GB, free: 2.984 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.172e-05/1.563, allocations: 133.1 kB / 0.9141 GB, free: 2.836 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1774/1.74, allocations: 3.327 MB / 0.9174 GB, free: 105.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001073/1.741, allocations: 28.23 kB / 0.9174 GB, free: 105.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001979/1.743, allocations: 3.633 MB / 0.9209 GB, free: 103.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002069/1.745, allocations: 1.547 MB / 0.9224 GB, free: 102.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006998/1.746, allocations: 0 / 0.9224 GB, free: 102.9 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004666/1.746, allocations: 0.6113 MB / 0.923 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005134/1.752, allocations: 3.99 MB / 0.9269 GB, free: 102.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0066/1.758, allocations: 6.756 MB / 0.9335 GB, free: 99.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00955/1.768, allocations: 5.805 MB / 0.9392 GB, free: 99.07 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/1.768, allocations: 26 kB / 0.9392 GB, free: 99.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02685/1.795, allocations: 12.22 MB / 0.9512 GB, free: 98.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/1.795, allocations: 6.5 kB / 0.9512 GB, free: 98.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002336/1.795, allocations: 97.59 kB / 0.9513 GB, free: 98.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005023/1.8, allocations: 1.622 MB / 0.9528 GB, free: 98.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007846/1.808, allocations: 1.642 MB / 0.9544 GB, free: 98.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/1.823, allocations: 14.83 MB / 0.9689 GB, free: 90.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007019/1.83, allocations: 0.7795 MB / 0.9697 GB, free: 90.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.832, allocations: 365.1 kB / 0.97 GB, free: 90.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003113/1.836, allocations: 363.8 kB / 0.9704 GB, free: 90.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001813/1.837, allocations: 385.7 kB / 0.9707 GB, free: 90 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02012/1.857, allocations: 9.464 MB / 0.98 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-05/1.858, allocations: 47.88 kB / 0.98 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.221e-05/1.858, allocations: 18.88 kB / 0.9801 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001126/1.858, allocations: 25.12 kB / 0.9801 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04171/1.9, allocations: 16.83 MB / 0.9965 GB, free: 87.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-05/1.9, allocations: 0 / 0.9965 GB, free: 87.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005221/1.905, allocations: 0.8577 MB / 0.9974 GB, free: 86.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00548/1.91, allocations: 1.484 MB / 0.9988 GB, free: 86.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001603/1.912, allocations: 39.14 kB / 0.9988 GB, free: 86.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0168/1.929, allocations: 14.63 MB / 1.013 GB, free: 76.34 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/1.929, allocations: 2.438 kB / 1.013 GB, free: 76.34 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02954/1.958, allocations: 13.8 MB / 1.027 GB, free: 71.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004102/1.963, allocations: 1.182 MB / 1.028 GB, free: 70.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002663/1.965, allocations: 10.05 kB / 1.028 GB, free: 70.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004904/1.97, allocations: 213.8 kB / 1.028 GB, free: 70.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001408/1.972, allocations: 256.2 kB / 1.028 GB, free: 70.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001255/1.973, allocations: 142.1 kB / 1.028 GB, free: 70.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.005383/1.978, allocations: 2.416 MB / 1.031 GB, free: 69.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01115/1.99, allocations: 2.184 MB / 1.033 GB, free: 68.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001605/1.991, allocations: 203.4 kB / 1.033 GB, free: 68.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01615/2.007, allocations: 9.674 MB / 1.042 GB, free: 65.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.909e-06/2.007, allocations: 1.5 kB / 1.042 GB, free: 65.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00824/2.016, allocations: 4.573 MB / 1.047 GB, free: 62.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/2.02, allocations: 0.5025 MB / 1.047 GB, free: 61.76 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03714/2.057, allocations: 14.86 MB / 1.062 GB, free: 48.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01299/2.07, allocations: 6.541 MB / 1.068 GB, free: 43.48 MB / 458.7 MB Notification: Performance of SimCode: time 9.52e-07/2.07, allocations: 0 / 1.068 GB, free: 43.48 MB / 458.7 MB Notification: Performance of Templates: time 0.318/2.388, allocations: 81.31 MB / 1.148 GB, free: 85.07 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches