Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001053/0.001053, allocations: 203.5 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 225.5 MB / 234.4 MB, free: 14.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001008/0.001008, allocations: 93.3 kB / 286.4 MB, free: 12.61 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.153e-06/7.333e-06, allocations: 0 / 343.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.291, allocations: 51.48 MB / 394.6 MB, free: 33.24 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.4017, allocations: 82.55 MB / 477.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.402, allocations: 79.95 kB / 477.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.0281/0.4301, allocations: 10.3 MB / 487.5 MB, free: 4.105 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.4302, allocations: 8 kB / 487.5 MB, free: 4.098 MB / 362.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.001237/0.4314, allocations: 0.6514 MB / 488.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4314, allocations: 12.03 kB / 488.2 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006788/0.4321, allocations: 111.5 kB / 488.3 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.4327, allocations: 303 kB / 488.6 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.4327, allocations: 12 kB / 488.6 MB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.336e-05/0.4327, allocations: 20 kB / 488.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004102/0.4332, allocations: 205.5 kB / 488.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.4337, allocations: 284.8 kB / 489.1 MB, free: 2.422 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4337, allocations: 4 kB / 489.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.4337, allocations: 0 / 489.1 MB, free: 2.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.4338, allocations: 8 kB / 489.1 MB, free: 2.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.436, allocations: 1.302 MB / 490.4 MB, free: 1.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.4362, allocations: 141.1 kB / 490.6 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.4364, allocations: 69.72 kB / 490.6 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.4376, allocations: 1.208 MB / 491.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.4376, allocations: 38.72 kB / 491.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.4376, allocations: 0 / 491.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003214/0.4379, allocations: 122 kB / 492 MB, free: 15.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.438, allocations: 81.11 kB / 492.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.4383, allocations: 239.2 kB / 492.3 MB, free: 14.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.4384, allocations: 25.7 kB / 492.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4385, allocations: 215.4 kB / 492.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.478e-05/0.4386, allocations: 55.28 kB / 492.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.4386, allocations: 0 / 492.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4388, allocations: 335.7 kB / 492.9 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.4389, allocations: 55.86 kB / 493 MB, free: 14.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.4391, allocations: 161.2 kB / 493.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4393, allocations: 79.28 kB / 493.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4393, allocations: 0 / 493.2 MB, free: 13.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003624/0.4396, allocations: 236.9 kB / 493.5 MB, free: 13.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.4397, allocations: 4 kB / 493.5 MB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.4397, allocations: 4 kB / 493.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.4397, allocations: 8 kB / 493.5 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.44, allocations: 80.38 kB / 493.5 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.518e-05/0.44, allocations: 15.92 kB / 493.6 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/0.4402, allocations: 27.69 kB / 493.6 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.4403, allocations: 12 kB / 493.6 MB, free: 13.52 MB / 378.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 9.487e-05/0.4404, allocations: 112.9 kB / 493.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.4405, allocations: 27.72 kB / 493.7 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.459e-05/0.4405, allocations: 29.64 kB / 493.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4405, allocations: 0 / 493.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4406, allocations: 4 kB / 493.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4406, allocations: 3.984 kB / 493.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.4411, allocations: 443.6 kB / 494.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4412, allocations: 128 / 494.2 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.4414, allocations: 47.95 kB / 494.3 MB, free: 12.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.4414, allocations: 7.984 kB / 494.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4414, allocations: 0 / 494.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4414, allocations: 0 / 494.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4414, allocations: 4 kB / 494.3 MB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003517/0.4418, allocations: 370.7 kB / 494.6 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.4419, allocations: 108.7 kB / 494.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.4419, allocations: 0 / 494.7 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.4421, allocations: 15.98 kB / 494.8 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.4422, allocations: 19.98 kB / 494.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4422, allocations: 4 kB / 494.8 MB, free: 12.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001531/0.4424, allocations: 175.1 kB / 494.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004176/0.4428, allocations: 84 kB / 495 MB, free: 11.99 MB / 378.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.0001988/0.443, allocations: 120.9 kB / 495.1 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.4433, allocations: 136.8 kB / 495.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4433, allocations: 0 / 495.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/0.4433, allocations: 44.12 kB / 495.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.4436, allocations: 25.25 kB / 495.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.4446, allocations: 462.3 kB / 495.8 MB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/0.4451, allocations: 0.7982 MB / 496.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4451, allocations: 0 / 496.6 MB, free: 10.35 MB / 378.7 MB Notification: Performance of Templates: time 0.005622/0.4507, allocations: 2.014 MB / 498.6 MB, free: 8.379 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches