Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [: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.001094/0.001094, allocations: 176.1 kB / 8.476 MB, free: 1.883 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.249/1.249, allocations: 205.2 MB / 214.1 MB, free: 5.109 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.0008978/0.0008978, allocations: 87.28 kB / 262.1 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.751e-06, allocations: 4 kB / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07808/0.0781, allocations: 47.57 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3023/0.3804, allocations: 79.59 MB / 442.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.3807, allocations: 71.23 kB / 442.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01745/0.3982, allocations: 6.186 MB / 448.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.3983, allocations: 7.812 kB / 448.4 MB, free: 9.539 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.00141/0.3997, allocations: 0.7315 MB / 449.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3997, allocations: 8.594 kB / 449.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.3999, allocations: 50.59 kB / 449.2 MB, free: 8.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.4003, allocations: 293.5 kB / 449.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.4003, allocations: 11.62 kB / 449.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.4004, allocations: 23.03 kB / 449.5 MB, free: 8.719 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006073/0.401, allocations: 335.5 kB / 449.8 MB, free: 8.695 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005672/0.4016, allocations: 376.6 kB / 450.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/0.4016, allocations: 0 / 450.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.4017, allocations: 2.078 kB / 450.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4017, allocations: 11.53 kB / 450.2 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.4041, allocations: 1.514 MB / 451.7 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.4045, allocations: 223.5 kB / 451.9 MB, free: 7.609 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002513/0.4048, allocations: 177.4 kB / 452.1 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.4048, allocations: 14.47 kB / 452.1 MB, free: 7.594 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.4049, allocations: 34.2 kB / 452.2 MB, free: 7.555 MB / 314.7 MB Notification: Performance of pre-optimization done (n=40): time 1.733e-06/0.4049, allocations: 4 kB / 452.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=40): time 0.001333/0.4062, allocations: 0.4916 MB / 452.7 MB, free: 7.414 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.4063, allocations: 158.1 kB / 452.8 MB, free: 7.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.4065, allocations: 203.1 kB / 453 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.4065, allocations: 25.7 kB / 453 MB, free: 7.086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.4066, allocations: 185.2 kB / 453.2 MB, free: 6.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.4066, allocations: 131.3 kB / 453.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.148e-05/0.4067, allocations: 0 / 453.3 MB, free: 6.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.045e-05/0.4068, allocations: 343.3 kB / 453.7 MB, free: 6.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.407, allocations: 119.1 kB / 453.8 MB, free: 6.504 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.4072, allocations: 206.2 kB / 454 MB, free: 6.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002686/0.4075, allocations: 135.1 kB / 454.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4075, allocations: 0 / 454.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001521/0.409, allocations: 0.6377 MB / 454.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4091, allocations: 7.953 kB / 454.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4091, allocations: 3.906 kB / 454.8 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/0.41, allocations: 256.7 kB / 455 MB, free: 6.109 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.4103, allocations: 92.66 kB / 455.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009453/0.4113, allocations: 1.343 MB / 456.5 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005167/0.4118, allocations: 97.05 kB / 456.6 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.4119, allocations: 15.25 kB / 456.6 MB, free: 4.957 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.412, allocations: 108.7 kB / 456.7 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.4121, allocations: 36.06 kB / 456.7 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.4137, allocations: 0.6144 MB / 457.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4137, allocations: 7.812 kB / 457.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4137, allocations: 0 / 457.3 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4137, allocations: 3.984 kB / 457.3 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000462/0.4142, allocations: 396.5 kB / 457.7 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4142, allocations: 3.938 kB / 457.7 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.4145, allocations: 68.67 kB / 457.8 MB, free: 4.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000804/0.4153, allocations: 259.4 kB / 458 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.4154, allocations: 5.906 kB / 458.1 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009229/0.4163, allocations: 1.355 MB / 459.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4163, allocations: 7.594 kB / 459.4 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001705/0.418, allocations: 0.8548 MB / 460.3 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.764e-05/0.4181, allocations: 110 kB / 460.4 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.4182, allocations: 1.344 kB / 460.4 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004398/0.4186, allocations: 63.53 kB / 460.4 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.4187, allocations: 20.91 kB / 460.5 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4188, allocations: 15.05 kB / 460.5 MB, free: 2.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001443/0.4189, allocations: 160.8 kB / 460.6 MB, free: 2.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004656/0.4194, allocations: 99.12 kB / 460.7 MB, free: 2.664 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001976/0.4196, allocations: 113.9 kB / 460.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007857/0.4204, allocations: 342.2 kB / 461.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.4204, allocations: 1.281 kB / 461.2 MB, free: 2.539 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003891/0.4208, allocations: 200.7 kB / 461.4 MB, free: 2.512 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.4211, allocations: 22.73 kB / 461.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.4226, allocations: 0.5921 MB / 462 MB, free: 2.199 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005271/0.4231, allocations: 0.8336 MB / 462.8 MB, free: 17.44 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4231, allocations: 0 / 462.8 MB, free: 17.44 MB / 330.7 MB Notification: Performance of Templates: time 0.01068/0.4338, allocations: 5.39 MB / 468.2 MB, free: 14.7 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches