Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.0009722/0.0009723, allocations: 181.8 kB / 8.132 MB, free: 2.09 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.132/1.132, 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.0009222/0.0009222, allocations: 94.75 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.321e-06/6.362e-06, allocations: 0 / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.178, allocations: 50.4 MB / 386.9 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.102/0.2801, allocations: 95.42 MB / 482.3 MB, free: 7.262 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.2804, allocations: 87.89 kB / 482.4 MB, free: 7.176 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.8024/1.083, allocations: 309.4 MB / 0.7733 GB, free: 32.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005033/1.083, allocations: 186.3 kB / 0.7734 GB, free: 32.3 MB / 426.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.02982/1.113, allocations: 9.307 MB / 0.7825 GB, free: 22.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/1.113, allocations: 8.031 kB / 0.7825 GB, free: 22.92 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03024/1.143, allocations: 5.081 MB / 0.7875 GB, free: 17.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01306/1.157, allocations: 6.286 MB / 0.7936 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003386/1.157, allocations: 272 kB / 0.7939 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/1.159, allocations: 483.9 kB / 0.7944 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02449/1.184, allocations: 13.47 MB / 0.8075 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.154/1.338, allocations: 14.4 MB / 0.8216 GB, free: 88.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001972/1.338, allocations: 10.06 kB / 0.8216 GB, free: 88.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009743/1.339, allocations: 7.406 kB / 0.8216 GB, free: 88.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006114/1.34, allocations: 0.8672 MB / 0.8224 GB, free: 88.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06932/1.409, allocations: 47.58 MB / 0.8689 GB, free: 80.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008715/1.418, allocations: 6.789 MB / 0.8755 GB, free: 80.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004276/1.422, allocations: 3.619 MB / 0.8791 GB, free: 80.1 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004292/1.423, allocations: 198.9 kB / 0.8793 GB, free: 80 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/1.423, allocations: 84.44 kB / 0.8793 GB, free: 79.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=468): time 6.372e-06/1.423, allocations: 0 / 0.8793 GB, free: 79.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=468): time 0.01408/1.437, allocations: 8.112 MB / 0.8873 GB, free: 79.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/1.437, allocations: 125.5 kB / 0.8874 GB, free: 79.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006088/1.443, allocations: 3.331 MB / 0.8906 GB, free: 79.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008928/1.444, allocations: 25.7 kB / 0.8907 GB, free: 79.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/1.446, allocations: 3.633 MB / 0.8942 GB, free: 76.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.447, allocations: 1.546 MB / 0.8957 GB, free: 75.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005126/1.448, allocations: 0 / 0.8957 GB, free: 75.97 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004612/1.448, allocations: 0.6133 MB / 0.8963 GB, free: 75.65 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004845/1.453, allocations: 3.992 MB / 0.9002 GB, free: 74.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00641/1.46, allocations: 6.753 MB / 0.9068 GB, free: 69.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008909/1.468, allocations: 5.8 MB / 0.9125 GB, free: 67.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.469, allocations: 25.84 kB / 0.9125 GB, free: 67.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02468/1.493, allocations: 12.22 MB / 0.9244 GB, free: 63.69 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.493, allocations: 4.844 kB / 0.9244 GB, free: 63.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002019/1.494, allocations: 92.84 kB / 0.9245 GB, free: 63.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005074/1.499, allocations: 1.617 MB / 0.9261 GB, free: 63.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007279/1.506, allocations: 1.652 MB / 0.9277 GB, free: 63.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/1.521, allocations: 14.84 MB / 0.9422 GB, free: 52.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006812/1.528, allocations: 0.7836 MB / 0.943 GB, free: 52.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/1.53, allocations: 362.2 kB / 0.9433 GB, free: 52.34 MB / 442.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.002472/1.532, allocations: 359.3 kB / 0.9437 GB, free: 52.02 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.534, allocations: 387.4 kB / 0.944 GB, free: 51.82 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/1.551, allocations: 9.471 MB / 0.9533 GB, free: 48.76 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/1.551, allocations: 48.81 kB / 0.9533 GB, free: 48.76 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-05/1.551, allocations: 11.78 kB / 0.9533 GB, free: 48.76 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-05/1.551, allocations: 27.67 kB / 0.9534 GB, free: 48.76 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02732/1.578, allocations: 16.84 MB / 0.9698 GB, free: 37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-05/1.578, allocations: 7.938 kB / 0.9698 GB, free: 36.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004388/1.583, allocations: 0.853 MB / 0.9706 GB, free: 36.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005141/1.588, allocations: 1.486 MB / 0.9721 GB, free: 35.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008522/1.589, allocations: 39.73 kB / 0.9721 GB, free: 35.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/1.602, allocations: 14.63 MB / 0.9864 GB, free: 21.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.279e-06/1.602, allocations: 0 / 0.9864 GB, free: 21.33 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01942/1.622, allocations: 13.8 MB / 0.9999 GB, free: 9.422 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002694/1.624, allocations: 1.186 MB / 1.001 GB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009322/1.625, allocations: 4 kB / 1.001 GB, free: 8.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.628, allocations: 215.1 kB / 1.001 GB, free: 8.203 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005187/1.629, allocations: 252.1 kB / 1.002 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003458/1.629, allocations: 142.8 kB / 1.002 GB, free: 7.926 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003144/1.632, allocations: 2.417 MB / 1.004 GB, free: 5.852 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00712/1.639, allocations: 2.181 MB / 1.006 GB, free: 3.668 MB / 442.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.0009511/1.64, allocations: 203.5 kB / 1.006 GB, free: 3.473 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.1571/1.798, allocations: 9.992 MB / 1.016 GB, free: 85.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.798, allocations: 0 / 1.016 GB, free: 85.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006482/1.804, allocations: 4.559 MB / 1.021 GB, free: 85.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/1.807, allocations: 0.5083 MB / 1.021 GB, free: 85.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02513/1.832, allocations: 14.86 MB / 1.036 GB, free: 82.81 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007945/1.84, allocations: 6.539 MB / 1.042 GB, free: 81.95 MB / 442.7 MB Notification: Performance of SimCode: time 1.452e-06/1.84, allocations: 0 / 1.042 GB, free: 81.95 MB / 442.7 MB Notification: Performance of Templates: time 0.1358/1.976, allocations: 81.28 MB / 1.121 GB, free: 62.96 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches