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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009506/0.0009506, allocations: 178.4 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.3 MB / 214.4 MB, free: 1.742 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.001281/0.001281, allocations: 86.69 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.358e-05/1.361e-05, allocations: 0 / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09055/0.09058, allocations: 47.6 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3286/0.4192, allocations: 79.9 MB / 443 MB, free: 15.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4195, allocations: 68.28 kB / 443 MB, free: 15.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01805/0.4376, allocations: 6.398 MB / 449.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4376, allocations: 0 / 449.4 MB, free: 10.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.4376, allocations: 8.766 kB / 449.5 MB, free: 10.27 MB / 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.001379/0.439, allocations: 0.7059 MB / 450.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.4391, allocations: 12.03 kB / 450.2 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.4392, allocations: 43.53 kB / 450.2 MB, free: 9.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.4396, allocations: 299.9 kB / 450.5 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.4396, allocations: 16 kB / 450.5 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.4397, allocations: 22.08 kB / 450.5 MB, free: 9.148 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005742/0.4403, allocations: 334 kB / 450.9 MB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.4409, allocations: 369.9 kB / 451.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.4409, allocations: 7.984 kB / 451.2 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/0.441, allocations: 4 kB / 451.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.441, allocations: 8 kB / 451.2 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.4434, allocations: 1.503 MB / 452.8 MB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000761/0.4442, allocations: 345.8 kB / 453.1 MB, free: 7.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.4445, allocations: 179.1 kB / 453.3 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.723e-05/0.4445, allocations: 8.312 kB / 453.3 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.4446, allocations: 42.59 kB / 453.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.4446, allocations: 0 / 453.3 MB, free: 6.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.001376/0.446, allocations: 483.9 kB / 453.8 MB, free: 6.555 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.4461, allocations: 165.8 kB / 453.9 MB, free: 6.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.4463, allocations: 208.2 kB / 454.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.4463, allocations: 29.7 kB / 454.2 MB, free: 6.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.4465, allocations: 202.6 kB / 454.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.4466, allocations: 134.8 kB / 454.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.4466, allocations: 4 kB / 454.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4468, allocations: 344.4 kB / 454.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.4469, allocations: 120 kB / 455 MB, free: 5.461 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.4472, allocations: 206.7 kB / 455.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.4475, allocations: 136.8 kB / 455.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4475, allocations: 0 / 455.3 MB, free: 5.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001595/0.4491, allocations: 0.6161 MB / 455.9 MB, free: 4.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4491, allocations: 12.03 kB / 455.9 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4491, allocations: 0 / 455.9 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008303/0.45, allocations: 249.1 kB / 456.2 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.4504, allocations: 91.62 kB / 456.3 MB, free: 4.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.4515, allocations: 1.334 MB / 457.6 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.4521, allocations: 83.78 kB / 457.7 MB, free: 3.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.4521, allocations: 19.67 kB / 457.7 MB, free: 3.023 MB / 330.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.0001515/0.4523, allocations: 116.9 kB / 457.8 MB, free: 2.902 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.4524, allocations: 35.58 kB / 457.8 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.454, allocations: 0.5909 MB / 458.4 MB, free: 2.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.454, allocations: 8 kB / 458.4 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.454, allocations: 0 / 458.4 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.454, allocations: 0 / 458.4 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005429/0.4546, allocations: 404 kB / 458.8 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4546, allocations: 4 kB / 458.8 MB, free: 2.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002977/0.4549, allocations: 63.89 kB / 458.9 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007746/0.4557, allocations: 258 kB / 459.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.4557, allocations: 4 kB / 459.2 MB, free: 1.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.4569, allocations: 1.356 MB / 460.5 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4569, allocations: 0 / 460.5 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.4586, allocations: 0.8448 MB / 461.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.4588, allocations: 104.7 kB / 461.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.4588, allocations: 3.953 kB / 461.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.4592, allocations: 56.19 kB / 461.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.4593, allocations: 23.34 kB / 461.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.4593, allocations: 19.23 kB / 461.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.4595, allocations: 165.6 kB / 461.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4595, allocations: 0 / 461.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004403/0.4599, allocations: 95.69 kB / 461.8 MB, free: 15.38 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.0002067/0.4602, allocations: 107.2 kB / 461.9 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000674/0.4608, allocations: 351 kB / 462.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4609, allocations: 0 / 462.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.4612, allocations: 188.6 kB / 462.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.4615, allocations: 27.8 kB / 462.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.4627, allocations: 0.5822 MB / 463.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.4631, allocations: 0.8034 MB / 463.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.4633, allocations: 27.28 kB / 463.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.4633, allocations: 23.44 kB / 463.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4633, allocations: 4 kB / 463.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of Templates: time 0.009223/0.4726, allocations: 4.874 MB / 468.8 MB, free: 8.586 MB / 346.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