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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008649/0.0008649, allocations: 179.2 kB / 17.03 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.3 MB / 241 MB, free: 11.81 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007163/0.0007163, allocations: 91.78 kB / 292.2 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002397/0.0002399, allocations: 8 kB / 351.8 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1904, allocations: 50.41 MB / 402.2 MB, free: 32.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002055/0.1925, allocations: 2.664 MB / 404.9 MB, free: 29.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008427/0.1933, allocations: 0.7607 MB / 405.6 MB, free: 29.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.1935, allocations: 11.94 kB / 405.6 MB, free: 29.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.1936, allocations: 39.62 kB / 405.7 MB, free: 29.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1937, allocations: 99.22 kB / 405.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.194, allocations: 107.8 kB / 405.9 MB, free: 28.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1943, allocations: 495.5 kB / 406.4 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.1944, allocations: 131.5 kB / 406.5 MB, free: 28.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.1946, allocations: 183.4 kB / 406.7 MB, free: 28.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.1948, allocations: 219.1 kB / 406.9 MB, free: 27.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.723e-05/0.1949, allocations: 24 kB / 406.9 MB, free: 27.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-05/0.195, allocations: 43.98 kB / 407 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.195, allocations: 83.66 kB / 407 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.575e-05/0.1951, allocations: 97.52 kB / 407.1 MB, free: 27.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.1953, allocations: 408.4 kB / 407.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1953, allocations: 0 / 407.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1954, allocations: 0 / 407.5 MB, free: 27.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.1954, allocations: 3.938 kB / 407.5 MB, free: 27.25 MB / 298.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.001201/0.1966, allocations: 0.7603 MB / 408.3 MB, free: 26.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.1966, allocations: 8.031 kB / 408.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.1967, allocations: 55.39 kB / 408.4 MB, free: 26.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.1969, allocations: 301.3 kB / 408.6 MB, free: 26.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.197, allocations: 29 kB / 408.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.931e-05/0.197, allocations: 36 kB / 408.7 MB, free: 25.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.1979, allocations: 0.5279 MB / 409.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.198, allocations: 0 / 409.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.198, allocations: 19.94 kB / 409.3 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.198, allocations: 15.94 kB / 409.3 MB, free: 25.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.1992, allocations: 0.5621 MB / 409.8 MB, free: 24.83 MB / 298.7 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.001955/0.2012, allocations: 1.694 MB / 411.5 MB, free: 22.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009427/0.2021, allocations: 467.6 kB / 412 MB, free: 22.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004511/0.2026, allocations: 265 kB / 412.2 MB, free: 22.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.2026, allocations: 8.312 kB / 412.3 MB, free: 22.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.2026, allocations: 38.89 kB / 412.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.083e-06/0.2027, allocations: 3.984 kB / 412.3 MB, free: 22.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004539/0.2072, allocations: 1.533 MB / 413.8 MB, free: 20.62 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.2073, allocations: 170.2 kB / 414 MB, free: 20.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.2075, allocations: 267 kB / 414.3 MB, free: 20.15 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.2075, allocations: 33.7 kB / 414.3 MB, free: 20.11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.137e-05/0.2076, allocations: 204.4 kB / 414.5 MB, free: 19.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.293e-05/0.2077, allocations: 137.9 kB / 414.6 MB, free: 19.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.2077, allocations: 12 kB / 414.6 MB, free: 19.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.019e-05/0.2078, allocations: 342.8 kB / 415 MB, free: 19.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.2082, allocations: 208.7 kB / 415.2 MB, free: 19.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004713/0.2087, allocations: 306.4 kB / 415.5 MB, free: 18.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004598/0.2092, allocations: 215.9 kB / 415.7 MB, free: 18.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2092, allocations: 0 / 415.7 MB, free: 18.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001682/0.2109, allocations: 0.7719 MB / 416.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2109, allocations: 6.656 kB / 416.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.2109, allocations: 4 kB / 416.5 MB, free: 17.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.2121, allocations: 337.3 kB / 416.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.2124, allocations: 87.88 kB / 416.9 MB, free: 17.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008696/0.2133, allocations: 1.374 MB / 418.3 MB, free: 16.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.2137, allocations: 95.67 kB / 418.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.2138, allocations: 16 kB / 418.4 MB, free: 15.92 MB / 298.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.0001337/0.2139, allocations: 152.2 kB / 418.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.214, allocations: 43.58 kB / 418.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.2159, allocations: 0.8174 MB / 419.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.2159, allocations: 4 kB / 419.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2159, allocations: 0 / 419.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2159, allocations: 0 / 419.4 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.2163, allocations: 472.8 kB / 419.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2163, allocations: 0 / 419.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.2166, allocations: 67.89 kB / 419.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.2176, allocations: 341.4 kB / 420.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.599e-05/0.2177, allocations: 12 kB / 420.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008535/0.2185, allocations: 1.382 MB / 421.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2186, allocations: 4 kB / 421.6 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002184/0.2207, allocations: 1.128 MB / 422.8 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.2208, allocations: 104.7 kB / 422.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.2209, allocations: 8 kB / 422.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.2212, allocations: 67.94 kB / 422.9 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.314e-05/0.2213, allocations: 23.97 kB / 423 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.2213, allocations: 11.98 kB / 423 MB, free: 11.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.2215, allocations: 190 kB / 423.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2215, allocations: 0 / 423.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.2218, allocations: 111.8 kB / 423.3 MB, free: 10.84 MB / 298.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.0001171/0.222, allocations: 115.2 kB / 423.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.223, allocations: 0.512 MB / 423.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.223, allocations: 192 / 423.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.2236, allocations: 276.1 kB / 424.2 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.2239, allocations: 52.44 kB / 424.2 MB, free: 9.887 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.2252, allocations: 1.102 MB / 425.3 MB, free: 8.754 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001636/0.2254, allocations: 0.8072 MB / 426.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/0.2255, allocations: 31.42 kB / 426.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2255, allocations: 0 / 426.2 MB, free: 7.887 MB / 298.7 MB Notification: Performance of Templates: time 0.006333/0.2318, allocations: 7.091 MB / 433.2 MB, free: 0.7969 MB / 298.7 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches