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.0009732/0.0009732, allocations: 95.69 kB / 16.93 MB, free: 5.98 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.001095/0.001095, allocations: 178.3 kB / 17.82 MB, free: 5.652 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.591/1.591, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004861/0.0004862, allocations: 15.28 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1076, allocations: 47.59 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003523/0.1112, allocations: 2.491 MB / 330.8 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001986/0.1132, allocations: 0.8089 MB / 331.6 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.1136, allocations: 7.938 kB / 331.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1138, allocations: 39.69 kB / 331.7 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004482/0.1143, allocations: 111.7 kB / 331.8 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.1147, allocations: 111.7 kB / 331.9 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.1154, allocations: 348.9 kB / 332.2 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.1158, allocations: 127.6 kB / 332.4 MB, free: 32 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003955/0.1162, allocations: 175.5 kB / 332.5 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.1166, allocations: 223.2 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/0.1167, allocations: 24 kB / 332.8 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.1168, allocations: 39.92 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.1169, allocations: 79.72 kB / 332.9 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.117, allocations: 101.5 kB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004108/0.1174, allocations: 399.1 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1174, allocations: 0 / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1175, allocations: 3.828 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.1175, allocations: 0 / 333.4 MB, free: 15 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.001648/0.1191, allocations: 0.7564 MB / 334.1 MB, free: 14.19 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1192, allocations: 8.031 kB / 334.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1193, allocations: 51.44 kB / 334.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.1198, allocations: 289.4 kB / 334.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.1198, allocations: 32.95 kB / 334.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.917e-05/0.1199, allocations: 40 kB / 334.6 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.121, allocations: 0.5279 MB / 335.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.121, allocations: 0 / 335.1 MB, free: 13.19 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.1211, allocations: 19.98 kB / 335.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1211, allocations: 8 kB / 335.1 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.1225, allocations: 0.5621 MB / 335.7 MB, free: 12.6 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.002867/0.1254, allocations: 1.702 MB / 337.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.1266, allocations: 459.7 kB / 337.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.859e-05/0.1267, allocations: 12.31 kB / 337.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.665e-05/0.1268, allocations: 38.83 kB / 337.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 4.929e-06/0.1268, allocations: 0 / 337.9 MB, free: 10.24 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.005125/0.1319, allocations: 1.549 MB / 339.4 MB, free: 8.641 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.132, allocations: 158.2 kB / 339.6 MB, free: 8.449 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.1324, allocations: 259 kB / 339.8 MB, free: 8.191 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.1324, allocations: 37.7 kB / 339.9 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.1326, allocations: 204.3 kB / 340.1 MB, free: 7.945 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.1328, allocations: 138 kB / 340.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.1328, allocations: 8 kB / 340.2 MB, free: 7.801 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.133, allocations: 342.8 kB / 340.5 MB, free: 7.457 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007161/0.1337, allocations: 204.7 kB / 340.7 MB, free: 7.254 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007642/0.1345, allocations: 306.5 kB / 341 MB, free: 6.922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007958/0.1353, allocations: 215.8 kB / 341.3 MB, free: 6.711 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.1353, allocations: 0 / 341.3 MB, free: 6.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002888/0.1382, allocations: 0.7679 MB / 342 MB, free: 5.93 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.1383, allocations: 8 kB / 342 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.1383, allocations: 0 / 342 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001848/0.1402, allocations: 341.3 kB / 342.4 MB, free: 5.582 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.1407, allocations: 95.88 kB / 342.5 MB, free: 5.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/0.1428, allocations: 1.354 MB / 343.8 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.1436, allocations: 99.61 kB / 343.9 MB, free: 3.984 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.1436, allocations: 16 kB / 343.9 MB, free: 3.969 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000341/0.144, allocations: 165.7 kB / 344.1 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.1441, allocations: 31.62 kB / 344.1 MB, free: 3.766 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.1472, allocations: 0.8215 MB / 344.9 MB, free: 2.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1473, allocations: 4 kB / 344.9 MB, free: 2.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.1473, allocations: 7.953 kB / 344.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1473, allocations: 0 / 344.9 MB, free: 2.918 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.1484, allocations: 457 kB / 345.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.1484, allocations: 0 / 345.4 MB, free: 2.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.1488, allocations: 75.88 kB / 345.5 MB, free: 2.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.1505, allocations: 333.4 kB / 345.8 MB, free: 2.016 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.1505, allocations: 8 kB / 345.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.1525, allocations: 1.382 MB / 347.2 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1526, allocations: 0 / 347.2 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/0.1564, allocations: 1.125 MB / 348.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.1566, allocations: 112.6 kB / 348.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.1567, allocations: 8 kB / 348.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005429/0.1572, allocations: 67.91 kB / 348.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.83e-05/0.1573, allocations: 23.92 kB / 348.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.1574, allocations: 15.98 kB / 348.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004128/0.1578, allocations: 186.1 kB / 348.7 MB, free: 15 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1578, allocations: 0 / 348.7 MB, free: 15 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006906/0.1585, allocations: 111.8 kB / 348.8 MB, free: 14.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/0.1588, allocations: 111.5 kB / 348.9 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00188/0.1607, allocations: 0.5149 MB / 349.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1607, allocations: 320 / 349.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008466/0.1616, allocations: 279.7 kB / 349.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.1621, allocations: 40.48 kB / 349.8 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.1648, allocations: 1.061 MB / 350.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.1654, allocations: 0.8037 MB / 351.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002377/0.1656, allocations: 30.97 kB / 351.7 MB, free: 12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.1657, allocations: 23.44 kB / 351.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1657, allocations: 0 / 351.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Templates: time 0.01489/0.1806, allocations: 5.207 MB / 356.9 MB, free: 6.77 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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