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.001443/0.001443, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001852/0.001852, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.541/1.541, allocations: 205.1 MB / 225 MB, free: 12.29 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.001245/0.001245, allocations: 51.94 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08447/0.08573, allocations: 46.63 MB / 327.9 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004347/0.09012, allocations: 3.097 MB / 331 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.09163, allocations: 0.82 MB / 331.9 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.09181, allocations: 12 kB / 331.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001841/0.09203, allocations: 59.38 kB / 331.9 MB, free: 468 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.09223, allocations: 106.9 kB / 332 MB, free: 360 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.09261, allocations: 143.7 kB / 332.2 MB, free: 216 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004766/0.0931, allocations: 0.5386 MB / 332.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002651/0.09337, allocations: 168.2 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002493/0.09363, allocations: 223.2 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.09391, allocations: 251 kB / 333.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.272e-05/0.09399, allocations: 52 kB / 333.4 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.09411, allocations: 60 kB / 333.5 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.09421, allocations: 111.7 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.09443, allocations: 242.8 kB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004975/0.09494, allocations: 0.5375 MB / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.09495, allocations: 0 / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09496, allocations: 0 / 334.3 MB, free: 14.04 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.09498, allocations: 0 / 334.3 MB, free: 14.04 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.001576/0.09656, allocations: 0.7915 MB / 335.1 MB, free: 13.2 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.09661, allocations: 8.031 kB / 335.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.935e-05/0.09672, allocations: 48.38 kB / 335.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.09707, allocations: 302.5 kB / 335.5 MB, free: 12.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.09711, allocations: 29.38 kB / 335.5 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.09719, allocations: 40.38 kB / 335.5 MB, free: 12.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.09825, allocations: 0.5087 MB / 336.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.09828, allocations: 0 / 336.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.09835, allocations: 16 kB / 336.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.09836, allocations: 12 kB / 336.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.09969, allocations: 0.4957 MB / 336.6 MB, free: 11.68 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.002508/0.1022, allocations: 1.67 MB / 338.2 MB, free: 9.867 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.1033, allocations: 435.5 kB / 338.7 MB, free: 9.434 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005256/0.1039, allocations: 245.4 kB / 338.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.1039, allocations: 4.328 kB / 338.9 MB, free: 9.188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.104, allocations: 38.89 kB / 339 MB, free: 9.141 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 3.346e-06/0.104, allocations: 0 / 339 MB, free: 9.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.005034/0.109, allocations: 1.372 MB / 340.3 MB, free: 7.719 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.201e-05/0.1091, allocations: 162.2 kB / 340.5 MB, free: 7.523 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.1095, allocations: 263 kB / 340.7 MB, free: 7.262 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/0.1095, allocations: 29.7 kB / 340.8 MB, free: 7.227 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.1097, allocations: 204.3 kB / 341 MB, free: 7.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1098, allocations: 138 kB / 341.1 MB, free: 6.887 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.1099, allocations: 78.12 kB / 341.2 MB, free: 6.805 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.11, allocations: 342.8 kB / 341.5 MB, free: 6.461 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.1106, allocations: 184.8 kB / 341.7 MB, free: 6.277 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.1112, allocations: 278.5 kB / 342 MB, free: 5.973 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1122, allocations: 426.5 kB / 342.4 MB, free: 5.531 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1122, allocations: 0 / 342.4 MB, free: 5.531 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001911/0.1141, allocations: 0.678 MB / 343.1 MB, free: 4.84 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1142, allocations: 15.92 kB / 343.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1142, allocations: 0 / 343.1 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.1155, allocations: 325.4 kB / 343.4 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.1159, allocations: 79.88 kB / 343.5 MB, free: 4.422 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/0.1171, allocations: 1.346 MB / 344.8 MB, free: 3.023 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.1176, allocations: 75.72 kB / 344.9 MB, free: 2.949 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.1177, allocations: 19.98 kB / 344.9 MB, free: 2.93 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.0001931/0.1179, allocations: 157.8 kB / 345.1 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.176e-05/0.1179, allocations: 35.56 kB / 345.1 MB, free: 2.73 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.1201, allocations: 0.7238 MB / 345.8 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.1202, allocations: 4 kB / 345.8 MB, free: 1.988 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1202, allocations: 4 kB / 345.8 MB, free: 1.984 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.1202, allocations: 3.984 kB / 345.8 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.1207, allocations: 465 kB / 346.3 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1207, allocations: 0 / 346.3 MB, free: 1.477 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003122/0.1211, allocations: 59.89 kB / 346.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001231/0.1223, allocations: 329.3 kB / 346.7 MB, free: 1.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.289e-05/0.1224, allocations: 8 kB / 346.7 MB, free: 1.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001214/0.1236, allocations: 1.358 MB / 348 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1236, allocations: 3.984 kB / 348 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.1262, allocations: 1.027 MB / 349.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.1263, allocations: 112.6 kB / 349.2 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.1264, allocations: 11.94 kB / 349.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003922/0.1268, allocations: 47.88 kB / 349.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.1269, allocations: 23.97 kB / 349.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.1269, allocations: 16.06 kB / 349.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002384/0.1272, allocations: 189.9 kB / 349.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1272, allocations: 0 / 349.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.1276, allocations: 107.8 kB / 349.6 MB, free: 14.1 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.0001892/0.1278, allocations: 123.1 kB / 349.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.1292, allocations: 479.7 kB / 350.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1292, allocations: 4.125 kB / 350.2 MB, free: 13.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.1299, allocations: 255.8 kB / 350.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.1304, allocations: 48.59 kB / 350.5 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1322, allocations: 0.894 MB / 351.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.1326, allocations: 0.7995 MB / 352.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.1327, allocations: 31.42 kB / 352.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1327, allocations: 0 / 352.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of Templates: time 0.01001/0.1427, allocations: 7.064 MB / 359.2 MB, free: 4.34 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 -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