Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002225/0.002225, allocations: 102.2 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002606/0.002606, allocations: 198.9 kB / 18.08 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.051/3.051, allocations: 222.9 MB / 241.8 MB, free: 13.85 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.001681, allocations: 53.08 kB / 300.6 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1627, allocations: 49.45 MB / 350.1 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.007148/0.1699, allocations: 3.162 MB / 353.2 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1724, allocations: 0.7963 MB / 354 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.1728, allocations: 4 kB / 354 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1731, allocations: 47.62 kB / 354.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003772/0.1736, allocations: 95.16 kB / 354.2 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006254/0.1742, allocations: 127.9 kB / 354.3 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007679/0.175, allocations: 0.519 MB / 354.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.1754, allocations: 148.7 kB / 354.9 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004205/0.1759, allocations: 199.3 kB / 355.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004017/0.1763, allocations: 243 kB / 355.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.1764, allocations: 32 kB / 355.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1766, allocations: 40 kB / 355.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.1767, allocations: 99.53 kB / 355.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.1771, allocations: 218.9 kB / 355.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006223/0.1777, allocations: 411.3 kB / 356.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/0.1778, allocations: 4 kB / 356.2 MB, free: 14.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1778, allocations: 4 kB / 356.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.1778, allocations: 0 / 356.2 MB, free: 14.5 MB / 302.1 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.002565/0.1804, allocations: 0.7876 MB / 357 MB, free: 13.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.006e-05/0.1804, allocations: 8.031 kB / 357 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1806, allocations: 56.38 kB / 357 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.1812, allocations: 310.4 kB / 357.3 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.1813, allocations: 33.25 kB / 357.4 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.1814, allocations: 36.38 kB / 357.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.1829, allocations: 0.5048 MB / 357.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.183, allocations: 0 / 357.9 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/0.183, allocations: 16 kB / 357.9 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.547e-05/0.1831, allocations: 8 kB / 357.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001873/0.1849, allocations: 0.5035 MB / 358.4 MB, free: 12.14 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004518/0.1895, allocations: 1.663 MB / 360.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.1914, allocations: 419.7 kB / 360.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009652/0.1924, allocations: 256.2 kB / 360.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.914e-05/0.1925, allocations: 12.27 kB / 360.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.1926, allocations: 38.89 kB / 360.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 5.39e-06/0.1926, allocations: 0 / 360.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.009177/0.2018, allocations: 1.365 MB / 362.2 MB, free: 8.191 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.2019, allocations: 158.2 kB / 362.3 MB, free: 8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006443/0.2026, allocations: 274.9 kB / 362.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.962e-05/0.2027, allocations: 33.7 kB / 362.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.203, allocations: 208.3 kB / 362.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000212/0.2032, allocations: 138 kB / 363 MB, free: 7.344 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.2035, allocations: 78.14 kB / 363 MB, free: 7.262 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002022/0.2037, allocations: 342.8 kB / 363.4 MB, free: 6.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000991/0.2047, allocations: 180.7 kB / 363.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.2058, allocations: 282.5 kB / 363.8 MB, free: 6.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.2078, allocations: 430.5 kB / 364.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.2078, allocations: 0 / 364.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003428/0.2113, allocations: 0.678 MB / 364.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.2113, allocations: 8 kB / 364.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2114, allocations: 0 / 364.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002238/0.2136, allocations: 325.4 kB / 365.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.2143, allocations: 75.88 kB / 365.3 MB, free: 4.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.2166, allocations: 1.354 MB / 366.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009081/0.2175, allocations: 83.58 kB / 366.8 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.618e-05/0.2176, allocations: 16 kB / 366.8 MB, free: 3.383 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,9), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003952/0.218, allocations: 157.8 kB / 366.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.2182, allocations: 31.62 kB / 367 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.2224, allocations: 0.7352 MB / 367.7 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.2225, allocations: 4 kB / 367.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.2225, allocations: 0 / 367.7 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/0.2225, allocations: 4 kB / 367.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.2236, allocations: 468.9 kB / 368.2 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.2237, allocations: 3.984 kB / 368.2 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.2242, allocations: 59.89 kB / 368.2 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002193/0.2264, allocations: 325.4 kB / 368.5 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.2265, allocations: 7.984 kB / 368.5 MB, free: 1.531 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/0.2288, allocations: 1.354 MB / 369.9 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.645e-06/0.2288, allocations: 4.031 kB / 369.9 MB, free: 124 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.31/0.5388, allocations: 1.007 MB / 370.9 MB, free: 26.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.539, allocations: 114.6 kB / 371 MB, free: 26.14 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5392, allocations: 16.58 kB / 371 MB, free: 26.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.5398, allocations: 45.2 kB / 371.1 MB, free: 26.14 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.54, allocations: 23.41 kB / 371.1 MB, free: 26.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.677e-05/0.5401, allocations: 12.23 kB / 371.1 MB, free: 26.14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003933/0.5405, allocations: 194.4 kB / 371.3 MB, free: 26.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.5405, allocations: 0 / 371.3 MB, free: 26.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007218/0.5412, allocations: 118.5 kB / 371.4 MB, free: 26.07 MB / 302.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000259/0.5415, allocations: 109.2 kB / 371.5 MB, free: 25.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.5438, allocations: 478.4 kB / 372 MB, free: 25.97 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.5438, allocations: 1 kB / 372 MB, free: 25.97 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.5449, allocations: 253.8 kB / 372.2 MB, free: 25.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008729/0.5458, allocations: 50.67 kB / 372.3 MB, free: 25.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.5488, allocations: 1.062 MB / 373.4 MB, free: 25.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.5492, allocations: 0.794 MB / 374.1 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.5494, allocations: 26.19 kB / 374.2 MB, free: 24.68 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5494, allocations: 0 / 374.2 MB, free: 24.68 MB / 302.1 MB Notification: Performance of Templates: time 0.02072/0.5701, allocations: 7.135 MB / 381.3 MB, free: 22.97 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches