Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001146/0.001146, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001148/0.001148, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 47.94 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09178, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004349/0.09618, allocations: 3.112 MB / 331.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001435/0.09764, allocations: 0.8279 MB / 332.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.0978, allocations: 4 kB / 332.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001684/0.098, allocations: 55.38 kB / 332.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001834/0.09819, allocations: 118.9 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.09855, allocations: 147.7 kB / 333 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.09902, allocations: 0.5307 MB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.0993, allocations: 172.3 kB / 333.7 MB, free: 14.76 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.09956, allocations: 215.3 kB / 333.9 MB, free: 14.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.09985, allocations: 255 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.483e-05/0.09993, allocations: 48 kB / 334.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1, allocations: 60 kB / 334.2 MB, free: 14.19 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.1001, allocations: 111.6 kB / 334.3 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1003, allocations: 234.9 kB / 334.6 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.1009, allocations: 0.5528 MB / 335.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1009, allocations: 4 kB / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1009, allocations: 0 / 335.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.1009, allocations: 0 / 335.1 MB, free: 13.29 MB / 286.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.001548/0.1025, allocations: 0.7798 MB / 335.9 MB, free: 12.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1025, allocations: 12.03 kB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.1026, allocations: 56.38 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004354/0.1031, allocations: 298.5 kB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.1031, allocations: 29.38 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/0.1032, allocations: 36.38 kB / 336.3 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.1042, allocations: 0.5087 MB / 336.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1042, allocations: 0 / 336.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.1043, allocations: 16 kB / 336.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1043, allocations: 8 kB / 336.9 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.1055, allocations: 0.5035 MB / 337.4 MB, free: 10.94 MB / 286.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.002464/0.108, allocations: 1.659 MB / 339 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.109, allocations: 431.5 kB / 339.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.1095, allocations: 249.4 kB / 339.7 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.1096, allocations: 8.312 kB / 339.7 MB, free: 8.453 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1096, allocations: 38.89 kB / 339.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.704e-06/0.1096, allocations: 0 / 339.7 MB, free: 8.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004549/0.1142, allocations: 1.365 MB / 341.1 MB, free: 6.992 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.1143, allocations: 166.2 kB / 341.3 MB, free: 6.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.1146, allocations: 267 kB / 341.5 MB, free: 6.527 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.1147, allocations: 33.64 kB / 341.6 MB, free: 6.488 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.1148, allocations: 208.3 kB / 341.8 MB, free: 6.281 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.1149, allocations: 142 kB / 341.9 MB, free: 6.141 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.1151, allocations: 70.14 kB / 342 MB, free: 6.066 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1152, allocations: 346.8 kB / 342.3 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.1157, allocations: 176.8 kB / 342.5 MB, free: 5.543 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005474/0.1162, allocations: 278.5 kB / 342.7 MB, free: 5.238 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/0.1172, allocations: 430.5 kB / 343.2 MB, free: 4.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.1172, allocations: 0 / 343.2 MB, free: 4.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00174/0.1189, allocations: 0.6858 MB / 343.9 MB, free: 4.094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.1189, allocations: 8 kB / 343.9 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.119, allocations: 0 / 343.9 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.1202, allocations: 325.4 kB / 344.2 MB, free: 3.762 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/0.1206, allocations: 75.88 kB / 344.3 MB, free: 3.688 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.1218, allocations: 1.343 MB / 345.6 MB, free: 2.293 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000454/0.1223, allocations: 83.72 kB / 345.7 MB, free: 2.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.1223, allocations: 19.92 kB / 345.7 MB, free: 2.191 MB / 286.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.0001981/0.1225, allocations: 153.8 kB / 345.8 MB, free: 2.031 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.1226, allocations: 35.62 kB / 345.9 MB, free: 1.996 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.1246, allocations: 0.7279 MB / 346.6 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1246, allocations: 4 kB / 346.6 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1246, allocations: 3.938 kB / 346.6 MB, free: 1.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1247, allocations: 3.984 kB / 346.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005314/0.1252, allocations: 460.8 kB / 347.1 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1252, allocations: 0 / 347.1 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.1255, allocations: 59.95 kB / 347.1 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.1266, allocations: 325.3 kB / 347.4 MB, free: 368 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.1267, allocations: 12 kB / 347.5 MB, free: 356 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/0.1278, allocations: 1.359 MB / 348.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1278, allocations: 0 / 348.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.1301, allocations: 1.015 MB / 349.8 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.719e-05/0.1302, allocations: 120.6 kB / 350 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.1303, allocations: 12 kB / 350 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.1307, allocations: 43.94 kB / 350 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.717e-05/0.1307, allocations: 23.97 kB / 350 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.1308, allocations: 12 kB / 350 MB, free: 13.67 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002114/0.131, allocations: 189.9 kB / 350.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.131, allocations: 4 kB / 350.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000427/0.1314, allocations: 111.8 kB / 350.3 MB, free: 13.37 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.0001593/0.1316, allocations: 119.1 kB / 350.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1328, allocations: 471.5 kB / 350.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1328, allocations: 0 / 350.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.1334, allocations: 256 kB / 351.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000371/0.1338, allocations: 52.47 kB / 351.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.1353, allocations: 0.8507 MB / 352.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1357, allocations: 0.7956 MB / 352.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.1358, allocations: 30.97 kB / 352.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.612e-05/0.1359, allocations: 35.36 kB / 352.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1359, allocations: 0 / 352.9 MB, free: 10.72 MB / 302.1 MB Notification: Performance of Templates: time 0.01017/0.1461, allocations: 5.87 MB / 358.8 MB, free: 4.848 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches