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.001289/0.001289, allocations: 112.3 kB / 17.68 MB, free: 5.473 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.00133/0.00133, allocations: 190.9 kB / 18.62 MB, free: 4.543 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.478/1.478, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009744/0.0009745, allocations: 45.72 kB / 302 MB, free: 5.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1082, allocations: 49.45 MB / 351.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004243/0.1124, allocations: 3.139 MB / 354.6 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.1139, allocations: 0.7845 MB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.1141, allocations: 8 kB / 355.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1143, allocations: 67.31 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1145, allocations: 114.9 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1149, allocations: 147.7 kB / 355.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004826/0.1154, allocations: 0.5424 MB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.1156, allocations: 172.3 kB / 356.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.1159, allocations: 215.3 kB / 356.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.1162, allocations: 259 kB / 356.9 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.1163, allocations: 52 kB / 357 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.1164, allocations: 52 kB / 357 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1165, allocations: 111.7 kB / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.1167, allocations: 242.8 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.1172, allocations: 0.5529 MB / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1172, allocations: 0 / 357.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1172, allocations: 3.938 kB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1172, allocations: 0 / 357.9 MB, free: 13.23 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.001537/0.1188, allocations: 0.7876 MB / 358.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1188, allocations: 15.97 kB / 358.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.372e-05/0.1189, allocations: 52.38 kB / 358.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.1194, allocations: 310.4 kB / 359.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.1194, allocations: 33.38 kB / 359.1 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.764e-05/0.1195, allocations: 36.38 kB / 359.1 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009756/0.1205, allocations: 0.5047 MB / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1205, allocations: 0 / 359.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.1205, allocations: 16 kB / 359.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.1205, allocations: 12 kB / 359.7 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1218, allocations: 0.4996 MB / 360.2 MB, free: 10.87 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.002382/0.1242, allocations: 1.667 MB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.1252, allocations: 423.7 kB / 362.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/0.1257, allocations: 245.3 kB / 362.5 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.1257, allocations: 12.3 kB / 362.5 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1258, allocations: 38.89 kB / 362.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.492e-06/0.1258, allocations: 0 / 362.5 MB, free: 8.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004584/0.1304, allocations: 1.369 MB / 363.9 MB, free: 6.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.1304, allocations: 158.2 kB / 364.1 MB, free: 6.719 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.1308, allocations: 266.9 kB / 364.3 MB, free: 6.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.1308, allocations: 33.7 kB / 364.4 MB, free: 6.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.131, allocations: 212.3 kB / 364.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.1311, allocations: 134 kB / 364.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1312, allocations: 74.12 kB / 364.8 MB, free: 5.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1314, allocations: 350.8 kB / 365.1 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000471/0.1319, allocations: 176.8 kB / 365.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.1324, allocations: 286.5 kB / 365.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009118/0.1333, allocations: 434.5 kB / 366 MB, free: 4.699 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1333, allocations: 0 / 366 MB, free: 4.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001713/0.1351, allocations: 0.6741 MB / 366.7 MB, free: 4.012 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1351, allocations: 11.98 kB / 366.7 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.1351, allocations: 0 / 366.7 MB, free: 4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.1364, allocations: 317.4 kB / 367 MB, free: 3.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.1367, allocations: 83.88 kB / 367.1 MB, free: 3.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1379, allocations: 1.343 MB / 368.4 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/0.1383, allocations: 79.5 kB / 368.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.1384, allocations: 19.98 kB / 368.5 MB, free: 2.109 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.0001773/0.1386, allocations: 157.8 kB / 368.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.1386, allocations: 35.56 kB / 368.7 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.1406, allocations: 0.7353 MB / 369.4 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1406, allocations: 4 kB / 369.4 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1406, allocations: 0 / 369.4 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.1406, allocations: 7.984 kB / 369.4 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.1412, allocations: 460.9 kB / 369.9 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1412, allocations: 4 kB / 369.9 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.1415, allocations: 55.95 kB / 370 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.1426, allocations: 325.4 kB / 370.3 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1426, allocations: 8 kB / 370.3 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2073/0.3499, allocations: 1.352 MB / 371.6 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.35, allocations: 0.5625 kB / 371.6 MB, free: 25.17 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00278/0.3528, allocations: 1.02 MB / 372.7 MB, free: 25.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3529, allocations: 113.1 kB / 372.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.353, allocations: 11.83 kB / 372.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003756/0.3534, allocations: 42.73 kB / 372.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3535, allocations: 26.42 kB / 372.8 MB, free: 24.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.3535, allocations: 15.31 kB / 372.9 MB, free: 24.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002997/0.3538, allocations: 193.3 kB / 373 MB, free: 24.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3538, allocations: 0.7812 kB / 373.1 MB, free: 24.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004858/0.3543, allocations: 111 kB / 373.2 MB, free: 24.85 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.0001862/0.3545, allocations: 113.4 kB / 373.3 MB, free: 24.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.3559, allocations: 483.8 kB / 373.7 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3559, allocations: 0.6562 kB / 373.7 MB, free: 24.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006912/0.3566, allocations: 252.6 kB / 374 MB, free: 24.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.357, allocations: 49.67 kB / 374 MB, free: 24.68 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001714/0.3587, allocations: 0.8678 MB / 374.9 MB, free: 24.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.359, allocations: 0.7959 MB / 375.7 MB, free: 23.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.3592, allocations: 30.59 kB / 375.7 MB, free: 23.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.3592, allocations: 25.58 kB / 375.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3593, allocations: 0 / 375.8 MB, free: 23.55 MB / 302.1 MB Notification: Performance of Templates: time 0.0129/0.3722, allocations: 5.89 MB / 381.6 MB, free: 22.53 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 cvode -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