Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [: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 3.2.3+maint.om/package.mo): time 0.0009168/0.0009169, allocations: 172.6 kB / 8.47 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.2 MB / 214.1 MB, free: 5.078 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009283/0.0009284, allocations: 87.28 kB / 262.1 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.043e-06, allocations: 0 / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 47.57 MB / 362.5 MB, free: 9.945 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3441/0.4506, allocations: 80.34 MB / 442.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4509, allocations: 78.19 kB / 443 MB, free: 10.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02331/0.4743, allocations: 9.537 MB / 452.5 MB, free: 8.074 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.4743, allocations: 7.672 kB / 452.5 MB, free: 8.074 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001119/0.4754, allocations: 0.6463 MB / 453.1 MB, free: 7.551 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4755, allocations: 10.94 kB / 453.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004988/0.476, allocations: 90.59 kB / 453.2 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.4764, allocations: 304.2 kB / 453.5 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.4765, allocations: 19.31 kB / 453.6 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.4765, allocations: 19.16 kB / 453.6 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003688/0.4769, allocations: 204.4 kB / 453.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004514/0.4774, allocations: 277.4 kB / 454.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4774, allocations: 0 / 454.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.4774, allocations: 3.844 kB / 454.1 MB, free: 7.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.4774, allocations: 11.84 kB / 454.1 MB, free: 7.133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.4793, allocations: 1.315 MB / 455.4 MB, free: 6.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.4796, allocations: 133.6 kB / 455.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.4797, allocations: 70.11 kB / 455.6 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006558/0.4804, allocations: 0.867 MB / 456.4 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4804, allocations: 37.94 kB / 456.5 MB, free: 5.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.4804, allocations: 0 / 456.5 MB, free: 5.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00027/0.4807, allocations: 120.8 kB / 456.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.4807, allocations: 84.95 kB / 456.7 MB, free: 5.125 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4809, allocations: 239.9 kB / 456.9 MB, free: 5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4809, allocations: 25.7 kB / 456.9 MB, free: 4.969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.481, allocations: 215.7 kB / 457.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.4811, allocations: 50.25 kB / 457.2 MB, free: 4.754 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.4811, allocations: 0 / 457.2 MB, free: 4.754 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.133e-05/0.4812, allocations: 332.8 kB / 457.5 MB, free: 4.434 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.4813, allocations: 44.84 kB / 457.6 MB, free: 4.434 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.4814, allocations: 172.3 kB / 457.7 MB, free: 4.262 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.4815, allocations: 79.06 kB / 457.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4815, allocations: 0 / 457.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003572/0.4819, allocations: 232 kB / 458 MB, free: 4.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.4819, allocations: 3.875 kB / 458.1 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4819, allocations: 3.906 kB / 458.1 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4819, allocations: 11.62 kB / 458.1 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.4822, allocations: 81.88 kB / 458.1 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.4822, allocations: 19.7 kB / 458.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.4824, allocations: 27.22 kB / 458.2 MB, free: 4.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.4824, allocations: 15.53 kB / 458.2 MB, free: 4.109 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 6.921e-05/0.4825, allocations: 116.7 kB / 458.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.4826, allocations: 30.86 kB / 458.4 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.4826, allocations: 20.31 kB / 458.4 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4826, allocations: 11.72 kB / 458.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4827, allocations: 0 / 458.4 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.4827, allocations: 3.984 kB / 458.4 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.4831, allocations: 436.2 kB / 458.8 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4831, allocations: 0 / 458.8 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.4833, allocations: 42.83 kB / 458.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.4834, allocations: 8.016 kB / 458.9 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4834, allocations: 3.844 kB / 458.9 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4834, allocations: 0 / 458.9 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4834, allocations: 0 / 458.9 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003236/0.4837, allocations: 384.1 kB / 459.2 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.4838, allocations: 100.6 kB / 459.3 MB, free: 3.215 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.4838, allocations: 3.906 kB / 459.3 MB, free: 3.211 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/0.4841, allocations: 19.45 kB / 459.4 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.4841, allocations: 11.81 kB / 459.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.4841, allocations: 3.781 kB / 459.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001248/0.4843, allocations: 181.6 kB / 459.6 MB, free: 3.109 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000374/0.4846, allocations: 79.47 kB / 459.6 MB, free: 3.094 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001768/0.4848, allocations: 113.8 kB / 459.7 MB, free: 2.996 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002367/0.4851, allocations: 133.7 kB / 459.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4851, allocations: 0 / 459.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.4851, allocations: 45.34 kB / 459.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.4854, allocations: 25.03 kB / 459.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008724/0.4863, allocations: 445.5 kB / 460.4 MB, free: 2.672 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.4866, allocations: 0.8056 MB / 461.2 MB, free: 1.918 MB / 314.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4866, allocations: 192 / 461.2 MB, free: 1.918 MB / 314.7 MB Notification: Performance of Templates: time 0.005986/0.4926, allocations: 1.998 MB / 463.2 MB, free: 0.9297 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches