Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002413/0.002412, allocations: 176.2 kB / 8.151 MB, free: 2.215 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.674/1.674, allocations: 205.2 MB / 213.8 MB, free: 13.87 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.001254/0.001253, allocations: 92.11 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.876e-06/9.107e-06, allocations: 0 / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2462, allocations: 47.55 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1201/0.3663, allocations: 79.6 MB / 441.4 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.3666, allocations: 72.47 kB / 441.5 MB, free: 6.371 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02995/0.3966, allocations: 6.179 MB / 447.7 MB, free: 216 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.779e-05/0.3967, allocations: 8 kB / 447.7 MB, free: 208 kB / 330.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.002366/0.3991, allocations: 0.7324 MB / 448.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3991, allocations: 8.031 kB / 448.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001744/0.3993, allocations: 52.42 kB / 448.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.3999, allocations: 293.4 kB / 448.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.039e-05/0.4, allocations: 12 kB / 448.8 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.4001, allocations: 24 kB / 448.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001147/0.4012, allocations: 329.4 kB / 449.1 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.4022, allocations: 375.9 kB / 449.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4023, allocations: 0 / 449.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/0.4024, allocations: 0 / 449.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4024, allocations: 8 kB / 449.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004481/0.4069, allocations: 1.523 MB / 451 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.4076, allocations: 226.7 kB / 451.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.4081, allocations: 173.8 kB / 451.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.913e-05/0.4081, allocations: 16.31 kB / 451.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/0.4082, allocations: 44.83 kB / 451.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 2.985e-06/0.4082, allocations: 0 / 451.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002449/0.4107, allocations: 493 kB / 452 MB, free: 11.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.4108, allocations: 162.1 kB / 452.1 MB, free: 11.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.4112, allocations: 205.1 kB / 452.3 MB, free: 11.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.258e-05/0.4112, allocations: 25.7 kB / 452.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.4114, allocations: 238.7 kB / 452.6 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.4116, allocations: 134 kB / 452.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.4116, allocations: 0 / 452.7 MB, free: 10.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4117, allocations: 326.8 kB / 453 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003862/0.4121, allocations: 120.9 kB / 453.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.4126, allocations: 209.7 kB / 453.3 MB, free: 10.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.4132, allocations: 130.8 kB / 453.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.4132, allocations: 4 kB / 453.5 MB, free: 10.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003108/0.4163, allocations: 0.6275 MB / 454.1 MB, free: 9.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.4164, allocations: 4 kB / 454.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.4164, allocations: 6.438 kB / 454.1 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.4179, allocations: 241.6 kB / 454.3 MB, free: 9.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/0.4187, allocations: 95.88 kB / 454.4 MB, free: 9.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.4205, allocations: 1.326 MB / 455.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.4215, allocations: 87.75 kB / 455.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.4216, allocations: 8 kB / 455.9 MB, free: 7.633 MB / 346.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.0001571/0.4217, allocations: 41.64 kB / 455.9 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.4219, allocations: 35.62 kB / 455.9 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.4251, allocations: 0.6107 MB / 456.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.4252, allocations: 4 kB / 456.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4252, allocations: 0 / 456.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.4252, allocations: 3.984 kB / 456.6 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.4261, allocations: 405.5 kB / 457 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.4261, allocations: 4.812 kB / 457 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.4268, allocations: 63.95 kB / 457 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001523/0.4283, allocations: 261.5 kB / 457.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.4284, allocations: 11.92 kB / 457.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.4303, allocations: 1.349 MB / 458.6 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4304, allocations: 0.7188 kB / 458.6 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003526/0.4339, allocations: 0.8593 MB / 459.5 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.4341, allocations: 108.7 kB / 459.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4342, allocations: 9.109 kB / 459.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008077/0.435, allocations: 65.52 kB / 459.7 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.4351, allocations: 23.95 kB / 459.7 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.4352, allocations: 8 kB / 459.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002523/0.4355, allocations: 165.2 kB / 459.9 MB, free: 3.469 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005591/0.436, allocations: 95.75 kB / 460 MB, free: 3.375 MB / 346.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.0002305/0.4363, allocations: 103.2 kB / 460.1 MB, free: 3.266 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.4375, allocations: 344.6 kB / 460.4 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4375, allocations: 0 / 460.4 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.4382, allocations: 191.6 kB / 460.6 MB, free: 2.742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.4387, allocations: 26.27 kB / 460.6 MB, free: 2.719 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002163/0.4409, allocations: 0.6205 MB / 461.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/0.4416, allocations: 0.8341 MB / 462.1 MB, free: 1.215 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4416, allocations: 0 / 462.1 MB, free: 1.215 MB / 346.7 MB Notification: Performance of Templates: time 0.01409/0.4557, allocations: 6.824 MB / 468.9 MB, free: 10.41 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches