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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.00111, allocations: 201.8 kB / 8.767 MB, free: 288 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008564/0.0008564, allocations: 96.47 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.488e-05/1.483e-05, allocations: 4 kB / 343.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09608/0.09611, allocations: 51.48 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3078/0.404, allocations: 81.88 MB / 477 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.4042, allocations: 72.61 kB / 477.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0161/0.4203, allocations: 6.626 MB / 483.7 MB, free: 5.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4203, allocations: 3 kB / 483.7 MB, free: 5.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.154e-05/0.4203, allocations: 8 kB / 483.8 MB, free: 5.656 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.001302/0.4217, allocations: 0.7014 MB / 484.5 MB, free: 4.941 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4217, allocations: 12.03 kB / 484.5 MB, free: 4.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002506/0.422, allocations: 63.42 kB / 484.5 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.4225, allocations: 324.5 kB / 484.8 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.4225, allocations: 12 kB / 484.9 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.4226, allocations: 20 kB / 484.9 MB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005831/0.4232, allocations: 332.7 kB / 485.2 MB, free: 4.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005586/0.4238, allocations: 373 kB / 485.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.4238, allocations: 0 / 485.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4238, allocations: 0 / 485.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.4239, allocations: 11.83 kB / 485.6 MB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.426, allocations: 1.484 MB / 487.1 MB, free: 2.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.4267, allocations: 353.4 kB / 487.4 MB, free: 2.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.4269, allocations: 173.1 kB / 487.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.694e-05/0.4269, allocations: 12.31 kB / 487.6 MB, free: 2.363 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.427, allocations: 43.22 kB / 487.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 3.246e-06/0.427, allocations: 7.984 kB / 487.6 MB, free: 2.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.001131/0.4281, allocations: 493 kB / 488.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4282, allocations: 158.2 kB / 488.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.4283, allocations: 215.3 kB / 488.5 MB, free: 1.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.4284, allocations: 25.7 kB / 488.5 MB, free: 1.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.4284, allocations: 209 kB / 488.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.421e-05/0.4285, allocations: 132 kB / 488.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.4285, allocations: 0 / 488.8 MB, free: 1.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.265e-05/0.4286, allocations: 352.8 kB / 489.2 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4288, allocations: 114.2 kB / 489.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.429, allocations: 206.1 kB / 489.5 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.4292, allocations: 136.8 kB / 489.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4292, allocations: 0 / 489.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001386/0.4306, allocations: 0.6205 MB / 490.3 MB, free: 56 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4306, allocations: 5.781 kB / 490.3 MB, free: 52 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4306, allocations: 4 kB / 490.3 MB, free: 48 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008229/0.4315, allocations: 251.9 kB / 490.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.4318, allocations: 91.44 kB / 490.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.4329, allocations: 1.341 MB / 491.9 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.4334, allocations: 79.69 kB / 492 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.4334, allocations: 15.81 kB / 492 MB, free: 14.4 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.0001187/0.4336, allocations: 112.9 kB / 492.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.4336, allocations: 39.55 kB / 492.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.4352, allocations: 0.5971 MB / 492.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4352, allocations: 4 kB / 492.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4352, allocations: 3.125 kB / 492.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4353, allocations: 3.984 kB / 492.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.4357, allocations: 402.7 kB / 493.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4357, allocations: 0 / 493.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/0.4361, allocations: 59.95 kB / 493.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007453/0.4368, allocations: 269.1 kB / 493.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.4369, allocations: 9.812 kB / 493.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.4379, allocations: 1.347 MB / 494.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4379, allocations: 0 / 494.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.4396, allocations: 0.8321 MB / 495.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.4397, allocations: 111.4 kB / 495.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.4398, allocations: 3.953 kB / 495.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003946/0.4402, allocations: 56 kB / 495.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.4403, allocations: 27.03 kB / 495.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.4403, allocations: 15.11 kB / 495.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.4405, allocations: 164.6 kB / 496.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4405, allocations: 7.938 kB / 496.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000441/0.4409, allocations: 103.7 kB / 496.2 MB, free: 10.75 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.0002043/0.4411, allocations: 102.9 kB / 496.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007428/0.4419, allocations: 341.3 kB / 496.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.4419, allocations: 3.625 kB / 496.6 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.4423, allocations: 193.5 kB / 496.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.4426, allocations: 34.89 kB / 496.8 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.4438, allocations: 0.5855 MB / 497.4 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.4441, allocations: 0.8034 MB / 498.2 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.4443, allocations: 31.28 kB / 498.3 MB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.4444, allocations: 27.42 kB / 498.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4444, allocations: 0 / 498.3 MB, free: 8.832 MB / 362.7 MB Notification: Performance of Templates: time 0.008955/0.4533, allocations: 4.876 MB / 0.4914 GB, free: 4.039 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