Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002555/0.002554, allocations: 176 kB / 8.152 MB, free: 2.125 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.965/1.965, allocations: 205.2 MB / 213.7 MB, free: 14 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 83.86 kB / 261.8 MB, free: 13.58 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.567e-05/1.571e-05, allocations: 4 kB / 314.3 MB, free: 9.008 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2866, allocations: 47.55 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1273/0.4139, allocations: 80.35 MB / 442.2 MB, free: 5.652 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.4143, allocations: 75.95 kB / 442.3 MB, free: 5.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04032/0.4546, allocations: 9.547 MB / 451.8 MB, free: 12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.706e-05/0.4547, allocations: 19.92 kB / 451.8 MB, free: 11.98 MB / 346.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.001821/0.4565, allocations: 0.6386 MB / 452.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.4566, allocations: 12.03 kB / 452.5 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008719/0.4575, allocations: 87.47 kB / 452.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007137/0.4582, allocations: 305.1 kB / 452.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.4583, allocations: 12 kB / 452.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.208e-05/0.4584, allocations: 16 kB / 452.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007713/0.4591, allocations: 209.5 kB / 453.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00078/0.4599, allocations: 276.9 kB / 453.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.46, allocations: 0 / 453.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.732e-05/0.46, allocations: 8 kB / 453.4 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/0.4601, allocations: 8 kB / 453.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003595/0.4637, allocations: 1.31 MB / 454.7 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.4642, allocations: 138 kB / 454.8 MB, free: 8.777 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.4644, allocations: 69.95 kB / 454.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.4656, allocations: 0.871 MB / 455.8 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4656, allocations: 30.56 kB / 455.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 5.059e-06/0.4657, allocations: 7.984 kB / 455.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004459/0.4661, allocations: 121.4 kB / 455.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4662, allocations: 81.11 kB / 456 MB, free: 7.461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004217/0.4666, allocations: 239.2 kB / 456.2 MB, free: 7.219 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.4667, allocations: 25.7 kB / 456.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.4668, allocations: 277.7 kB / 456.5 MB, free: 6.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.682e-05/0.4669, allocations: 51.34 kB / 456.6 MB, free: 6.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.4669, allocations: 0 / 456.6 MB, free: 6.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4671, allocations: 318.8 kB / 456.9 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4672, allocations: 48 kB / 456.9 MB, free: 6.496 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.4675, allocations: 173 kB / 457.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.4677, allocations: 70.44 kB / 457.2 MB, free: 6.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.4677, allocations: 224 / 457.2 MB, free: 6.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006021/0.4684, allocations: 225.1 kB / 457.4 MB, free: 5.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.4684, allocations: 9.5 kB / 457.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4684, allocations: 8 kB / 457.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.4684, allocations: 4 kB / 457.4 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.469, allocations: 76.44 kB / 457.5 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.714e-05/0.469, allocations: 15.92 kB / 457.5 MB, free: 5.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.4693, allocations: 19.78 kB / 457.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.4694, allocations: 16 kB / 457.5 MB, free: 5.828 MB / 346.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 8.917e-05/0.4695, allocations: 37.55 kB / 457.6 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.4696, allocations: 23.72 kB / 457.6 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.4697, allocations: 29.73 kB / 457.6 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4697, allocations: 4 kB / 457.6 MB, free: 5.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.4697, allocations: 4 kB / 457.6 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-06/0.4698, allocations: 3.984 kB / 457.6 MB, free: 5.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009368/0.4707, allocations: 447.5 kB / 458.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4707, allocations: 0.8438 kB / 458.1 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.4711, allocations: 43.95 kB / 458.1 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.4712, allocations: 0 / 458.1 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.4712, allocations: 16.11 kB / 458.1 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4712, allocations: 0 / 458.1 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4712, allocations: 3.906 kB / 458.1 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000561/0.4718, allocations: 379.8 kB / 458.5 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4719, allocations: 104.8 kB / 458.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/0.472, allocations: 0 / 458.6 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.4724, allocations: 12.84 kB / 458.6 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.4724, allocations: 11.92 kB / 458.6 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.4725, allocations: 16.05 kB / 458.7 MB, free: 4.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002762/0.4728, allocations: 175.1 kB / 458.8 MB, free: 4.438 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005914/0.4734, allocations: 75.69 kB / 458.9 MB, free: 4.363 MB / 346.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.000265/0.4736, allocations: 123.2 kB / 459 MB, free: 4.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004145/0.4741, allocations: 133.1 kB / 459.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.4741, allocations: 0 / 459.1 MB, free: 4.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4742, allocations: 49.06 kB / 459.2 MB, free: 4.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.4747, allocations: 20.89 kB / 459.2 MB, free: 4.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.4762, allocations: 477.2 kB / 459.7 MB, free: 3.527 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.4768, allocations: 0.8021 MB / 460.5 MB, free: 2.699 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.4768, allocations: 5.688 kB / 460.5 MB, free: 2.695 MB / 346.7 MB Notification: Performance of Templates: time 0.009251/0.4861, allocations: 3.272 MB / 463.8 MB, free: 15.45 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches