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.0008434/0.0008437, allocations: 88.08 kB / 16.31 MB, free: 6.449 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.001149/0.001149, allocations: 184.9 kB / 17.21 MB, free: 6.32 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.718/1.718, allocations: 223.3 MB / 241.2 MB, free: 268 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003058, allocations: 8 kB / 300.8 MB, free: 6.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 50.42 MB / 351.2 MB, free: 3.996 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004456/0.1477, allocations: 2.656 MB / 353.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002483/0.1503, allocations: 0.7576 MB / 354.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000347/0.1507, allocations: 8 kB / 354.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.151, allocations: 43.62 kB / 354.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.1513, allocations: 99.16 kB / 354.8 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005807/0.1519, allocations: 103.9 kB / 354.9 MB, free: 312 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.1525, allocations: 0.4957 MB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002886/0.1528, allocations: 139.4 kB / 355.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.1531, allocations: 179.3 kB / 355.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.1534, allocations: 223.1 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.1535, allocations: 28 kB / 356 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1536, allocations: 28 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.544e-05/0.1537, allocations: 79.72 kB / 356.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1538, allocations: 109.4 kB / 356.2 MB, free: 15.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.1544, allocations: 399.1 kB / 356.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.1544, allocations: 7.984 kB / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.1544, allocations: 0 / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1544, allocations: 0 / 356.6 MB, free: 14.63 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.001681/0.1561, allocations: 0.7525 MB / 357.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.1562, allocations: 19.97 kB / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.1563, allocations: 51.39 kB / 357.4 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.1567, allocations: 297.4 kB / 357.7 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.718e-05/0.1568, allocations: 21 kB / 357.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.214e-05/0.1569, allocations: 43.84 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.1581, allocations: 0.5279 MB / 358.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.1581, allocations: 4 kB / 358.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.957e-05/0.1582, allocations: 16 kB / 358.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.1582, allocations: 8 kB / 358.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.1595, allocations: 0.5698 MB / 358.9 MB, free: 12.21 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.002665/0.1622, allocations: 1.694 MB / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.1634, allocations: 463.7 kB / 361 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005511/0.1639, allocations: 268.8 kB / 361.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.795e-05/0.164, allocations: 20.3 kB / 361.3 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.1641, allocations: 38.89 kB / 361.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 2.424e-06/0.1641, allocations: 0 / 361.3 MB, free: 9.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004759/0.1688, allocations: 1.533 MB / 362.9 MB, free: 8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.169, allocations: 158.2 kB / 363 MB, free: 7.809 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.1694, allocations: 267 kB / 363.3 MB, free: 7.539 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.1694, allocations: 37.7 kB / 363.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1696, allocations: 208.3 kB / 363.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.1697, allocations: 138 kB / 363.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.1697, allocations: 4 kB / 363.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1699, allocations: 350.8 kB / 364 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.1704, allocations: 200.8 kB / 364.2 MB, free: 6.602 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005432/0.171, allocations: 306.5 kB / 364.5 MB, free: 6.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.1715, allocations: 223.8 kB / 364.7 MB, free: 6.047 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1715, allocations: 7.938 kB / 364.7 MB, free: 6.039 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001964/0.1735, allocations: 0.7678 MB / 365.5 MB, free: 5.258 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.1735, allocations: 4.062 kB / 365.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.1736, allocations: 11.94 kB / 365.5 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.1749, allocations: 329.4 kB / 365.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.1753, allocations: 91.88 kB / 365.9 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.1766, allocations: 1.366 MB / 367.3 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.1771, allocations: 91.69 kB / 367.4 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.479e-05/0.1772, allocations: 16 kB / 367.4 MB, free: 3.301 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 (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.0002542/0.1774, allocations: 165.7 kB / 367.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.09e-05/0.1775, allocations: 35.58 kB / 367.6 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.1797, allocations: 0.8173 MB / 368.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.1797, allocations: 4 kB / 368.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1797, allocations: 48 / 368.4 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.1797, allocations: 7.969 kB / 368.4 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005818/0.1803, allocations: 461 kB / 368.9 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1803, allocations: 0 / 368.9 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.1807, allocations: 79.83 kB / 368.9 MB, free: 1.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.1818, allocations: 337.4 kB / 369.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.1819, allocations: 8 kB / 369.3 MB, free: 1.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2184/0.4002, allocations: 1.37 MB / 370.7 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4003, allocations: 4.219 kB / 370.7 MB, free: 25.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003307/0.4036, allocations: 1.122 MB / 371.8 MB, free: 24.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.4038, allocations: 117.6 kB / 371.9 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.4039, allocations: 9.719 kB / 371.9 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004007/0.4043, allocations: 59.75 kB / 372 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.4044, allocations: 23.27 kB / 372 MB, free: 24.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.4044, allocations: 12.06 kB / 372 MB, free: 24.81 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002849/0.4047, allocations: 191 kB / 372.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4047, allocations: 2.297 kB / 372.2 MB, free: 24.73 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004869/0.4052, allocations: 113.1 kB / 372.3 MB, free: 24.73 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.0001889/0.4054, allocations: 115.1 kB / 372.4 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.4069, allocations: 0.51 MB / 372.9 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.4069, allocations: 0.7812 kB / 372.9 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.4077, allocations: 278.6 kB / 373.2 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.4081, allocations: 46.97 kB / 373.2 MB, free: 24.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.4102, allocations: 1.081 MB / 374.3 MB, free: 24.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.4106, allocations: 0.7958 MB / 375.1 MB, free: 23.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001822/0.4108, allocations: 33.34 kB / 375.1 MB, free: 23.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.102e-05/0.4109, allocations: 22.89 kB / 375.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4109, allocations: 0 / 375.2 MB, free: 23.39 MB / 302.1 MB Notification: Performance of Templates: time 0.01274/0.4236, allocations: 5.222 MB / 380.4 MB, free: 22.63 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/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