Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001113/0.001113, allocations: 191.5 kB / 8.533 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.233/1.233, allocations: 225.5 MB / 234.4 MB, free: 3.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008991/0.0008994, allocations: 88.16 kB / 286.3 MB, free: 5.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.386e-06, allocations: 4 kB / 343.1 MB, free: 8.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09487, allocations: 51.46 MB / 394.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2286/0.3235, allocations: 81.81 MB / 476.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/0.3237, allocations: 67.09 kB / 476.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01594/0.3397, allocations: 6.414 MB / 482.9 MB, free: 6.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.3397, allocations: 8 kB / 482.9 MB, free: 6.25 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001168/0.3409, allocations: 0.7132 MB / 483.6 MB, free: 5.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.3409, allocations: 12.03 kB / 483.6 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.3411, allocations: 59.42 kB / 483.7 MB, free: 5.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.3416, allocations: 329.5 kB / 484 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.3416, allocations: 13.69 kB / 484 MB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.3417, allocations: 24 kB / 484.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005367/0.3422, allocations: 335.7 kB / 484.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.3427, allocations: 366.3 kB / 484.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3427, allocations: 7.922 kB / 484.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/0.3428, allocations: 4 kB / 484.8 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3428, allocations: 8 kB / 484.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.3449, allocations: 1.499 MB / 486.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.3453, allocations: 226.4 kB / 486.5 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3455, allocations: 173.9 kB / 486.6 MB, free: 3.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.3455, allocations: 18.11 kB / 486.7 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.3456, allocations: 38.7 kB / 486.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.402e-06/0.3456, allocations: 0 / 486.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001201/0.3468, allocations: 495.5 kB / 487.2 MB, free: 2.586 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.3468, allocations: 162.2 kB / 487.3 MB, free: 2.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.347, allocations: 220.7 kB / 487.6 MB, free: 2.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.347, allocations: 25.7 kB / 487.6 MB, free: 2.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.3471, allocations: 179.4 kB / 487.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.3472, allocations: 137.1 kB / 487.9 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.3472, allocations: 0 / 487.9 MB, free: 1.887 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.3473, allocations: 346.2 kB / 488.2 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3474, allocations: 114.6 kB / 488.3 MB, free: 1.492 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.3477, allocations: 206.7 kB / 488.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.3479, allocations: 133.7 kB / 488.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.348, allocations: 0 / 488.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001497/0.3495, allocations: 0.6339 MB / 489.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3495, allocations: 6.344 kB / 489.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3495, allocations: 0 / 489.3 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008267/0.3503, allocations: 262.1 kB / 489.6 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.3507, allocations: 95.78 kB / 489.7 MB, free: 400 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.3518, allocations: 1.351 MB / 491 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.3524, allocations: 87.75 kB / 491.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-05/0.3525, allocations: 15.98 kB / 491.1 MB, free: 15.02 MB / 362.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.0001326/0.3526, allocations: 116.8 kB / 491.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.509e-05/0.3527, allocations: 31.84 kB / 491.3 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.3547, allocations: 0.6103 MB / 491.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3548, allocations: 4 kB / 491.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3548, allocations: 1.125 kB / 491.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.3548, allocations: 2.156 kB / 491.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005607/0.3554, allocations: 400.2 kB / 492.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3554, allocations: 3.906 kB / 492.3 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.3558, allocations: 79.61 kB / 492.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.3568, allocations: 269.2 kB / 492.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.3569, allocations: 0 / 492.6 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.3582, allocations: 1.363 MB / 494 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3582, allocations: 0 / 494 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002146/0.3603, allocations: 0.8609 MB / 494.8 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.3604, allocations: 108.4 kB / 494.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.3605, allocations: 7.906 kB / 495 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.3609, allocations: 64 kB / 495 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.361, allocations: 15.97 kB / 495 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.361, allocations: 11.69 kB / 495 MB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001332/0.3612, allocations: 171 kB / 495.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004095/0.3616, allocations: 103.7 kB / 495.3 MB, free: 11.31 MB / 362.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.0001689/0.3618, allocations: 107.6 kB / 495.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006663/0.3624, allocations: 349.7 kB / 495.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3625, allocations: 3.938 kB / 495.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003409/0.3628, allocations: 188.6 kB / 495.9 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.3631, allocations: 31.84 kB / 496 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.3643, allocations: 0.5976 MB / 496.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003873/0.3647, allocations: 0.8337 MB / 497.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3648, allocations: 0 / 497.4 MB, free: 9.41 MB / 362.7 MB Notification: Performance of Templates: time 0.008839/0.3736, allocations: 5.395 MB / 0.491 GB, free: 4.098 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches