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.001801/0.001802, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.00164/0.00164, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.588/1.588, allocations: 222.9 MB / 241.1 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009926/0.0009928, allocations: 48.02 kB / 299.9 MB, free: 6.094 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1173, allocations: 49.45 MB / 349.4 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004732/0.1221, allocations: 3.165 MB / 352.6 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.1237, allocations: 0.7963 MB / 353.4 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001736/0.1239, allocations: 7.938 kB / 353.4 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1241, allocations: 39.69 kB / 353.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1243, allocations: 103.2 kB / 353.5 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.1247, allocations: 123.8 kB / 353.6 MB, free: 380 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005238/0.1253, allocations: 0.5152 MB / 354.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.1256, allocations: 148.7 kB / 354.3 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.1259, allocations: 199.3 kB / 354.5 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002885/0.1262, allocations: 246.9 kB / 354.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.971e-05/0.1263, allocations: 36 kB / 354.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1264, allocations: 40 kB / 354.8 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.1265, allocations: 95.64 kB / 354.9 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1267, allocations: 218.9 kB / 355.1 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.1273, allocations: 0.5219 MB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1273, allocations: 0 / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1273, allocations: 0 / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1273, allocations: 3.938 kB / 355.6 MB, free: 14.36 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.001739/0.1291, allocations: 0.7915 MB / 356.4 MB, free: 13.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1291, allocations: 8.031 kB / 356.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.1293, allocations: 52.38 kB / 356.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004259/0.1297, allocations: 310.4 kB / 356.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.1298, allocations: 25.38 kB / 356.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.1298, allocations: 36.38 kB / 356.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1309, allocations: 0.5087 MB / 357.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.131, allocations: 0 / 357.4 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.78e-05/0.131, allocations: 20 kB / 357.4 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.131, allocations: 11.94 kB / 357.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1323, allocations: 0.4996 MB / 357.9 MB, free: 11.99 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.002689/0.135, allocations: 1.667 MB / 359.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.1362, allocations: 419.7 kB / 360 MB, free: 9.762 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/0.1367, allocations: 245.3 kB / 360.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.1368, allocations: 16.31 kB / 360.2 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.1368, allocations: 38.89 kB / 360.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.445e-06/0.1368, allocations: 0 / 360.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004896/0.1417, allocations: 1.361 MB / 361.6 MB, free: 8.047 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1419, allocations: 162.2 kB / 361.8 MB, free: 7.852 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.1422, allocations: 278.9 kB / 362 MB, free: 7.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.1422, allocations: 29.7 kB / 362.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.1424, allocations: 208.3 kB / 362.3 MB, free: 7.332 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1425, allocations: 138 kB / 362.4 MB, free: 7.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1427, allocations: 78.12 kB / 362.5 MB, free: 7.113 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1428, allocations: 338.8 kB / 362.8 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.1433, allocations: 192.7 kB / 363 MB, free: 6.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.144, allocations: 278.5 kB / 363.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009907/0.145, allocations: 426.5 kB / 363.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.145, allocations: 0 / 363.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001797/0.1468, allocations: 0.678 MB / 364.4 MB, free: 5.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.1468, allocations: 11.94 kB / 364.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.1468, allocations: 0 / 364.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.1482, allocations: 317.5 kB / 364.7 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/0.1486, allocations: 79.88 kB / 364.8 MB, free: 4.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.1498, allocations: 1.358 MB / 366.1 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/0.1503, allocations: 75.47 kB / 366.2 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.1503, allocations: 20 kB / 366.2 MB, free: 3.234 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.0002085/0.1506, allocations: 161.8 kB / 366.4 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.1506, allocations: 35.61 kB / 366.4 MB, free: 3.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.1527, allocations: 0.7236 MB / 367.1 MB, free: 2.297 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1527, allocations: 4.047 kB / 367.1 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/0.1527, allocations: 3.984 kB / 367.1 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.1528, allocations: 7.984 kB / 367.2 MB, free: 2.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006151/0.1534, allocations: 464.9 kB / 367.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.1534, allocations: 0 / 367.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002985/0.1537, allocations: 59.95 kB / 367.7 MB, free: 1.719 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.1549, allocations: 329.3 kB / 368 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.1549, allocations: 4 kB / 368 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2428/0.3977, allocations: 1.351 MB / 369.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3978, allocations: 2.109 kB / 369.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.4008, allocations: 1.017 MB / 370.4 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.401, allocations: 116.1 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/0.4011, allocations: 7.109 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.4015, allocations: 48.55 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4016, allocations: 24.22 kB / 370.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.4017, allocations: 19.2 kB / 370.6 MB, free: 25.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003155/0.402, allocations: 193.5 kB / 370.8 MB, free: 25.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.402, allocations: 0 / 370.8 MB, free: 25.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005348/0.4025, allocations: 110.5 kB / 370.9 MB, free: 25.47 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.0002075/0.4027, allocations: 113.7 kB / 371 MB, free: 25.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.4042, allocations: 475.3 kB / 371.4 MB, free: 25.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4042, allocations: 3.828 kB / 371.5 MB, free: 25.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006384/0.4049, allocations: 252.7 kB / 371.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.4054, allocations: 46.22 kB / 371.7 MB, free: 25.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.4072, allocations: 1.024 MB / 372.8 MB, free: 24.83 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4075, allocations: 0.7959 MB / 373.6 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.4077, allocations: 38.45 kB / 373.6 MB, free: 24.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.4078, allocations: 23.09 kB / 373.6 MB, free: 24.11 MB / 302.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4078, allocations: 0 / 373.6 MB, free: 24.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01379/0.4216, allocations: 5.449 MB / 379.1 MB, free: 23.41 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/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