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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002204/0.002204, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001111/0.00111, allocations: 90.92 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003947/0.0003948, allocations: 8 kB / 327 MB, free: 236 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3233, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1248/0.4481, allocations: 80.41 MB / 454.9 MB, free: 384 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.4485, allocations: 83.95 kB / 455 MB, free: 300 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02892/0.4774, allocations: 6.455 MB / 461.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4775, allocations: 0 / 461.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.4775, allocations: 8 kB / 461.5 MB, free: 9.797 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.00225/0.4798, allocations: 0.7446 MB / 462.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.4798, allocations: 8.031 kB / 462.2 MB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.48, allocations: 47.44 kB / 462.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.4805, allocations: 305.3 kB / 462.6 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/0.4805, allocations: 25 kB / 462.6 MB, free: 8.586 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4807, allocations: 40 kB / 462.7 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.4825, allocations: 0.5318 MB / 463.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.4826, allocations: 0 / 463.2 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.4827, allocations: 16 kB / 463.2 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.4827, allocations: 8 kB / 463.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.4852, allocations: 0.5621 MB / 463.8 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.4893, allocations: 1.579 MB / 465.4 MB, free: 5.715 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.4914, allocations: 466 kB / 465.8 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.4915, allocations: 12.3 kB / 465.8 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4915, allocations: 42.84 kB / 465.9 MB, free: 5.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 4.028e-06/0.4915, allocations: 0 / 465.9 MB, free: 5.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.008554/0.5001, allocations: 1.44 MB / 467.3 MB, free: 3.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.5002, allocations: 166.2 kB / 467.5 MB, free: 3.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004841/0.5007, allocations: 238.1 kB / 467.7 MB, free: 3.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.024e-05/0.5008, allocations: 37.7 kB / 467.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.501, allocations: 258.8 kB / 468 MB, free: 2.969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.5012, allocations: 134 kB / 468.1 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.5012, allocations: 12 kB / 468.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.5014, allocations: 330.8 kB / 468.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/0.5024, allocations: 200.8 kB / 468.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.5035, allocations: 298.5 kB / 468.9 MB, free: 1.969 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000995/0.5045, allocations: 219.8 kB / 469.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5045, allocations: 0 / 469.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004124/0.5086, allocations: 0.8148 MB / 470 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.5087, allocations: 7.594 kB / 470 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.5087, allocations: 4 kB / 470 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/0.5109, allocations: 341.4 kB / 470.3 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/0.5117, allocations: 83.88 kB / 470.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/0.5137, allocations: 1.37 MB / 471.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.5146, allocations: 91.69 kB / 471.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.5147, allocations: 15.98 kB / 471.9 MB, free: 14.97 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 () * Number of clocked 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.0002937/0.515, allocations: 157.7 kB / 472 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.5151, allocations: 35.62 kB / 472.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003888/0.519, allocations: 0.7941 MB / 472.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.519, allocations: 4 kB / 472.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.5191, allocations: 0 / 472.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.5191, allocations: 0 / 472.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008993/0.52, allocations: 469 kB / 473.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.52, allocations: 4 kB / 473.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.5206, allocations: 67.89 kB / 473.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.5227, allocations: 341.4 kB / 473.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.5228, allocations: 8 kB / 473.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.5249, allocations: 1.383 MB / 475.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5249, allocations: 0 / 475.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004918/0.5299, allocations: 1.109 MB / 476.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.5301, allocations: 112.7 kB / 476.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.5302, allocations: 8 kB / 476.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007231/0.5309, allocations: 64.19 kB / 476.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.891e-05/0.5311, allocations: 19.97 kB / 476.4 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/0.5311, allocations: 15.94 kB / 476.4 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004049/0.5315, allocations: 193.9 kB / 476.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5316, allocations: 0 / 476.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005724/0.5321, allocations: 111.7 kB / 476.7 MB, free: 9.93 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 () * Number of clocked 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.0002213/0.5324, allocations: 119.9 kB / 476.8 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002313/0.5347, allocations: 0.507 MB / 477.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5347, allocations: 0 / 477.4 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5359, allocations: 276.1 kB / 477.6 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.5364, allocations: 42.95 kB / 477.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002672/0.5391, allocations: 1.1 MB / 478.8 MB, free: 7.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.5395, allocations: 0.8037 MB / 479.6 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.5397, allocations: 31.44 kB / 479.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5397, allocations: 0 / 479.6 MB, free: 6.996 MB / 362.7 MB Notification: Performance of Templates: time 0.01383/0.5536, allocations: 6.799 MB / 486.4 MB, free: 200 kB / 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