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.00157/0.00157, allocations: 110 kB / 17.68 MB, free: 5.332 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.001702/0.001702, allocations: 190.9 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 49.39 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1512, allocations: 49.44 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005464/0.1568, allocations: 3.127 MB / 354.6 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.1588, allocations: 0.7923 MB / 355.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004514/0.1593, allocations: 4 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.1597, allocations: 67.36 kB / 355.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.1602, allocations: 114.9 kB / 355.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.1609, allocations: 143.7 kB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009049/0.1618, allocations: 0.5463 MB / 356.3 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.1622, allocations: 176.3 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004651/0.1627, allocations: 215.3 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004318/0.1631, allocations: 255 kB / 356.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.1632, allocations: 52 kB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.1634, allocations: 56 kB / 357 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1635, allocations: 115.6 kB / 357.1 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.1639, allocations: 242.8 kB / 357.4 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006099/0.1645, allocations: 0.549 MB / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1646, allocations: 0 / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1646, allocations: 0 / 357.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.1646, allocations: 0 / 357.9 MB, free: 13.25 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.001908/0.1665, allocations: 0.7954 MB / 358.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1666, allocations: 8.031 kB / 358.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001279/0.1667, allocations: 52.31 kB / 358.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.1673, allocations: 310.4 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.1673, allocations: 29.38 kB / 359.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.255e-05/0.1674, allocations: 36.38 kB / 359.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1685, allocations: 0.5087 MB / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.1685, allocations: 0 / 359.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.1686, allocations: 16 kB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1686, allocations: 15.94 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.1699, allocations: 0.4996 MB / 360.2 MB, free: 10.88 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.003208/0.1732, allocations: 1.667 MB / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.1743, allocations: 423.7 kB / 362.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005208/0.1749, allocations: 240.8 kB / 362.5 MB, free: 8.402 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.946e-05/0.1749, allocations: 12.31 kB / 362.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.175, allocations: 38.83 kB / 362.5 MB, free: 8.344 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.405e-06/0.175, allocations: 4 kB / 362.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004911/0.1799, allocations: 1.365 MB / 363.9 MB, free: 6.926 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.18, allocations: 162.2 kB / 364.1 MB, free: 6.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.1804, allocations: 270.9 kB / 364.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.1805, allocations: 33.7 kB / 364.4 MB, free: 6.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.1806, allocations: 212.3 kB / 364.6 MB, free: 6.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.1808, allocations: 134 kB / 364.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.1809, allocations: 78.12 kB / 364.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1811, allocations: 342.8 kB / 365.1 MB, free: 5.648 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/0.1816, allocations: 184.7 kB / 365.3 MB, free: 5.469 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.1822, allocations: 278.5 kB / 365.6 MB, free: 5.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.1833, allocations: 426.5 kB / 366 MB, free: 4.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.1833, allocations: 4 kB / 366 MB, free: 4.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002467/0.1858, allocations: 0.6742 MB / 366.7 MB, free: 4.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.1858, allocations: 12 kB / 366.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1859, allocations: 0 / 366.7 MB, free: 4.016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.1878, allocations: 317.4 kB / 367 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/0.1883, allocations: 83.88 kB / 367.1 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.1899, allocations: 1.35 MB / 368.4 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.1904, allocations: 83.59 kB / 368.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.1905, allocations: 16.05 kB / 368.5 MB, free: 2.117 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.0003178/0.1908, allocations: 153.8 kB / 368.7 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.1909, allocations: 35.62 kB / 368.7 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.1931, allocations: 0.7353 MB / 369.4 MB, free: 1.176 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.1931, allocations: 8 kB / 369.4 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1932, allocations: 0 / 369.4 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.1932, allocations: 3.984 kB / 369.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006328/0.1938, allocations: 464.9 kB / 369.9 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1938, allocations: 0 / 369.9 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.1941, allocations: 63.89 kB / 370 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001246/0.1954, allocations: 317.4 kB / 370.3 MB, free: 288 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/0.1954, allocations: 15.98 kB / 370.3 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.229/0.4245, allocations: 1.349 MB / 371.6 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4245, allocations: 1.25 kB / 371.6 MB, free: 25.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.4272, allocations: 1.021 MB / 372.7 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.4273, allocations: 110 kB / 372.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/0.4274, allocations: 9.906 kB / 372.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.4278, allocations: 46.94 kB / 372.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.4279, allocations: 24.14 kB / 372.8 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.4279, allocations: 12.52 kB / 372.9 MB, free: 24.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000271/0.4282, allocations: 191.3 kB / 373 MB, free: 24.89 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4282, allocations: 0 / 373 MB, free: 24.89 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004798/0.4287, allocations: 116.7 kB / 373.2 MB, free: 24.89 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.0001713/0.4289, allocations: 116.8 kB / 373.3 MB, free: 24.8 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.4302, allocations: 483.4 kB / 373.7 MB, free: 24.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4302, allocations: 0 / 373.7 MB, free: 24.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006981/0.4309, allocations: 251.8 kB / 374 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.4313, allocations: 55.69 kB / 374 MB, free: 24.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.4331, allocations: 0.8553 MB / 374.9 MB, free: 24.33 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002552/0.4334, allocations: 0.7937 MB / 375.7 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.4335, allocations: 36.28 kB / 375.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.4336, allocations: 23.2 kB / 375.8 MB, free: 23.61 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4336, allocations: 0 / 375.8 MB, free: 23.61 MB / 302.1 MB Notification: Performance of Templates: time 0.0133/0.4469, allocations: 5.896 MB / 381.6 MB, free: 22.55 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 -s gbode -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