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.00214/0.002141, allocations: 111.8 kB / 17.28 MB, free: 6.219 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.001799/0.001798, allocations: 185.3 kB / 18.19 MB, free: 5.301 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.669/1.669, allocations: 205.1 MB / 224 MB, free: 12.45 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.001352/0.001352, allocations: 47.94 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.0988, allocations: 46.63 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004751/0.1036, allocations: 3.138 MB / 329.9 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1052, allocations: 0.8161 MB / 330.7 MB, free: 0.8203 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.1055, allocations: 4 kB / 330.7 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.1058, allocations: 43.62 kB / 330.8 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.1061, allocations: 103.1 kB / 330.9 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.1065, allocations: 123.9 kB / 331 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.107, allocations: 0.5268 MB / 331.5 MB, free: 24 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.1074, allocations: 168.3 kB / 331.7 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003152/0.1077, allocations: 219.2 kB / 331.9 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.108, allocations: 255 kB / 332.2 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.062e-05/0.1081, allocations: 52 kB / 332.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.1083, allocations: 52 kB / 332.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.029e-05/0.1084, allocations: 111.7 kB / 332.4 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.1086, allocations: 246.8 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.1091, allocations: 0.5414 MB / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1091, allocations: 0 / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1091, allocations: 0 / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.1092, allocations: 0 / 333.1 MB, free: 14.39 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.001639/0.1108, allocations: 0.7915 MB / 333.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1108, allocations: 12.03 kB / 334 MB, free: 13.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.716e-05/0.1109, allocations: 48.38 kB / 334 MB, free: 13.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.1113, allocations: 298.5 kB / 334.3 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.1114, allocations: 29.38 kB / 334.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.1115, allocations: 36.38 kB / 334.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.1125, allocations: 0.5047 MB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1125, allocations: 7.984 kB / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.661e-05/0.1126, allocations: 16 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1126, allocations: 8 kB / 334.9 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1138, allocations: 0.5035 MB / 335.4 MB, free: 12.03 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.002391/0.1162, allocations: 1.666 MB / 337.1 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1173, allocations: 431.5 kB / 337.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.1177, allocations: 237.4 kB / 337.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.1178, allocations: 8.312 kB / 337.7 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1178, allocations: 38.89 kB / 337.8 MB, free: 9.504 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.394e-06/0.1178, allocations: 4 kB / 337.8 MB, free: 9.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.004666/0.1225, allocations: 1.365 MB / 339.1 MB, free: 8.086 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.1226, allocations: 162.2 kB / 339.3 MB, free: 7.891 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.123, allocations: 263 kB / 339.5 MB, free: 7.629 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.123, allocations: 33.7 kB / 339.6 MB, free: 7.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1232, allocations: 212.3 kB / 339.8 MB, free: 7.379 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1233, allocations: 134 kB / 339.9 MB, free: 7.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.1235, allocations: 82.12 kB / 340 MB, free: 7.16 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1236, allocations: 338.8 kB / 340.3 MB, free: 6.82 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004782/0.1241, allocations: 184.8 kB / 340.5 MB, free: 6.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.1247, allocations: 278.5 kB / 340.8 MB, free: 6.332 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009149/0.1256, allocations: 426.5 kB / 341.2 MB, free: 5.891 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1256, allocations: 7.938 kB / 341.2 MB, free: 5.883 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001747/0.1273, allocations: 0.6741 MB / 341.9 MB, free: 5.195 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1274, allocations: 11.34 kB / 341.9 MB, free: 5.188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1274, allocations: 4 kB / 341.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.1286, allocations: 321.4 kB / 342.2 MB, free: 4.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.1289, allocations: 83.89 kB / 342.3 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.1302, allocations: 1.35 MB / 343.6 MB, free: 3.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.1307, allocations: 75.56 kB / 343.7 MB, free: 3.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.1308, allocations: 20.03 kB / 343.7 MB, free: 3.285 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.0002014/0.131, allocations: 165.8 kB / 343.9 MB, free: 3.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.131, allocations: 31.62 kB / 343.9 MB, free: 3.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.133, allocations: 0.7238 MB / 344.6 MB, free: 2.344 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.133, allocations: 4 kB / 344.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.133, allocations: 0 / 344.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.133, allocations: 3.984 kB / 344.7 MB, free: 2.336 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.1336, allocations: 465 kB / 345.1 MB, free: 1.832 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1336, allocations: 4 kB / 345.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/0.1338, allocations: 51.95 kB / 345.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001127/0.135, allocations: 333.3 kB / 345.5 MB, free: 1.445 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.135, allocations: 4 kB / 345.5 MB, free: 1.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.1362, allocations: 1.358 MB / 346.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.1362, allocations: 8.016 kB / 346.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.1385, allocations: 1.015 MB / 347.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.688e-05/0.1386, allocations: 112.6 kB / 348 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.582e-05/0.1387, allocations: 20 kB / 348 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003505/0.139, allocations: 43.94 kB / 348 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.1391, allocations: 19.97 kB / 348.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.1391, allocations: 12 kB / 348.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.1394, allocations: 193.9 kB / 348.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1394, allocations: 4 kB / 348.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003816/0.1397, allocations: 107.8 kB / 348.4 MB, free: 14.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.0001737/0.1399, allocations: 119.1 kB / 348.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.1411, allocations: 488.1 kB / 349 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1411, allocations: 4 kB / 349 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.1417, allocations: 255.9 kB / 349.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.1422, allocations: 44.48 kB / 349.3 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.1437, allocations: 1.025 MB / 350.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.144, allocations: 0.7917 MB / 351.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.1441, allocations: 38.95 kB / 351.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.996e-05/0.1442, allocations: 23.44 kB / 351.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1442, allocations: 0 / 351.1 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Templates: time 0.009784/0.154, allocations: 5.77 MB / 356.9 MB, free: 5.852 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches