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.001051/0.001051, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001085/0.001085, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.372/1.372, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001562, allocations: 51.97 kB / 301.3 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1037, allocations: 49.43 MB / 350.7 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004439/0.1081, allocations: 3.131 MB / 353.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1098, allocations: 0.7923 MB / 354.6 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003034/0.1102, allocations: 8 kB / 354.6 MB, free: 468 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002589/0.1105, allocations: 59.31 kB / 354.7 MB, free: 408 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.1109, allocations: 114.9 kB / 354.8 MB, free: 292 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.1113, allocations: 151.8 kB / 355 MB, free: 140 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006309/0.112, allocations: 0.5463 MB / 355.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.1123, allocations: 176.3 kB / 355.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.1127, allocations: 211.3 kB / 355.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.113, allocations: 251 kB / 356.1 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.1131, allocations: 52 kB / 356.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.1133, allocations: 56 kB / 356.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1134, allocations: 115.6 kB / 356.4 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.1137, allocations: 242.8 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.1142, allocations: 0.5531 MB / 357.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1143, allocations: 0 / 357.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1143, allocations: 0 / 357.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.785e-05/0.1143, allocations: 0 / 357.1 MB, free: 13.95 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.001696/0.116, allocations: 0.7915 MB / 357.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.116, allocations: 12.03 kB / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.1161, allocations: 48.38 kB / 358 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.1165, allocations: 310.4 kB / 358.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.1166, allocations: 25.38 kB / 358.3 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.1167, allocations: 36.38 kB / 358.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.1178, allocations: 0.5087 MB / 358.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.1178, allocations: 0 / 358.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.678e-05/0.1179, allocations: 16 kB / 358.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.1179, allocations: 11.94 kB / 358.9 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.1193, allocations: 0.5035 MB / 359.4 MB, free: 11.58 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.00273/0.1221, allocations: 1.67 MB / 361.1 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.1232, allocations: 427.7 kB / 361.5 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000533/0.1238, allocations: 241.3 kB / 361.7 MB, free: 9.102 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.506e-05/0.1238, allocations: 20.28 kB / 361.7 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1238, allocations: 38.89 kB / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.854e-06/0.1239, allocations: 0 / 361.8 MB, free: 9.035 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005047/0.1289, allocations: 1.365 MB / 363.1 MB, free: 7.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.129, allocations: 158.2 kB / 363.3 MB, free: 7.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.1293, allocations: 270.9 kB / 363.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.1294, allocations: 37.7 kB / 363.6 MB, free: 7.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1295, allocations: 208.3 kB / 363.8 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.1296, allocations: 138 kB / 363.9 MB, free: 6.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1298, allocations: 74.12 kB / 364 MB, free: 6.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1299, allocations: 342.8 kB / 364.3 MB, free: 6.348 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.1305, allocations: 180.8 kB / 364.5 MB, free: 6.172 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.1311, allocations: 286.5 kB / 364.8 MB, free: 5.855 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.1321, allocations: 426.5 kB / 365.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1321, allocations: 0 / 365.2 MB, free: 5.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001868/0.134, allocations: 0.6741 MB / 365.9 MB, free: 4.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.134, allocations: 7.984 kB / 365.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.134, allocations: 8.062 kB / 365.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.1353, allocations: 317.4 kB / 366.2 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/0.1357, allocations: 79.88 kB / 366.3 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.1369, allocations: 1.362 MB / 367.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.1374, allocations: 75.47 kB / 367.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.1375, allocations: 19.98 kB / 367.8 MB, free: 2.809 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.0002035/0.1377, allocations: 161 kB / 367.9 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.1378, allocations: 35.69 kB / 367.9 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.1399, allocations: 0.7236 MB / 368.7 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1399, allocations: 4 kB / 368.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1399, allocations: 0 / 368.7 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.14, allocations: 7.984 kB / 368.7 MB, free: 1.863 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005504/0.1405, allocations: 464.9 kB / 369.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1405, allocations: 0 / 369.1 MB, free: 1.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.1408, allocations: 67.88 kB / 369.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001197/0.142, allocations: 321.4 kB / 369.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.1421, allocations: 12 kB / 369.5 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1549/0.2969, allocations: 1.352 MB / 370.9 MB, free: 25.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.297, allocations: 0.625 kB / 370.9 MB, free: 25.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.2998, allocations: 1.019 MB / 371.9 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.2999, allocations: 110.5 kB / 372 MB, free: 25.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.2999, allocations: 14.16 kB / 372 MB, free: 25.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.3003, allocations: 44.38 kB / 372.1 MB, free: 25.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.369e-05/0.3004, allocations: 23.17 kB / 372.1 MB, free: 25.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.918e-05/0.3005, allocations: 11.91 kB / 372.1 MB, free: 25.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002399/0.3007, allocations: 196.2 kB / 372.3 MB, free: 25.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3007, allocations: 0 / 372.3 MB, free: 25.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004515/0.3012, allocations: 109.8 kB / 372.4 MB, free: 25.46 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.0001588/0.3013, allocations: 117.3 kB / 372.5 MB, free: 25.37 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.3027, allocations: 487.6 kB / 373 MB, free: 25.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3028, allocations: 1.031 kB / 373 MB, free: 25.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006497/0.3034, allocations: 255.9 kB / 373.2 MB, free: 25.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3038, allocations: 43.67 kB / 373.3 MB, free: 25.35 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.3054, allocations: 0.9078 MB / 374.2 MB, free: 24.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3057, allocations: 0.7938 MB / 375 MB, free: 24.19 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/0.3058, allocations: 26.38 kB / 375 MB, free: 24.18 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3058, allocations: 0 / 375 MB, free: 24.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01021/0.316, allocations: 7.15 MB / 382.2 MB, free: 22.36 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