Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 103.2 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 197.2 kB / 17.9 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.7 MB / 246.4 MB, free: 9.793 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004407, allocations: 4 kB / 307.1 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1616, allocations: 51.53 MB / 358.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00427/0.1659, allocations: 2.69 MB / 361.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.168, allocations: 0.8161 MB / 362.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004263/0.1684, allocations: 4 kB / 362.1 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.1687, allocations: 51.61 kB / 362.2 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003853/0.1691, allocations: 99.16 kB / 362.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005694/0.1697, allocations: 115.8 kB / 362.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007839/0.1705, allocations: 499.5 kB / 362.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.1709, allocations: 139.6 kB / 363 MB, free: 8.992 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005195/0.1714, allocations: 183.4 kB / 363.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004168/0.1718, allocations: 223.1 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.1719, allocations: 24 kB / 363.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.172, allocations: 32 kB / 363.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.499e-05/0.1721, allocations: 91.66 kB / 363.6 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1723, allocations: 97.52 kB / 363.7 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000447/0.1727, allocations: 419 kB / 364.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1727, allocations: 0 / 364.1 MB, free: 7.938 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1727, allocations: 3.938 kB / 364.1 MB, free: 7.934 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1727, allocations: 0 / 364.1 MB, free: 7.934 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.001546/0.1743, allocations: 0.7602 MB / 364.8 MB, free: 7.121 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1743, allocations: 12.03 kB / 364.8 MB, free: 7.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.1746, allocations: 55.52 kB / 364.9 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003605/0.1749, allocations: 302.2 kB / 365.2 MB, free: 6.719 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.175, allocations: 29 kB / 365.2 MB, free: 6.691 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.1751, allocations: 36 kB / 365.3 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.1761, allocations: 0.5318 MB / 365.8 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1761, allocations: 0 / 365.8 MB, free: 6.105 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.1762, allocations: 20 kB / 365.8 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1762, allocations: 11.98 kB / 365.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.1775, allocations: 0.5621 MB / 366.4 MB, free: 5.508 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.002553/0.1801, allocations: 1.686 MB / 368.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.1813, allocations: 467.5 kB / 368.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.1818, allocations: 265.8 kB / 368.8 MB, free: 2.949 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.1819, allocations: 12.31 kB / 368.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1819, allocations: 38.89 kB / 368.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.563e-06/0.1819, allocations: 0 / 368.8 MB, free: 2.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.004607/0.1865, allocations: 1.541 MB / 370.4 MB, free: 1.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.1866, allocations: 158.2 kB / 370.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.187, allocations: 278.8 kB / 370.8 MB, free: 0.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.249e-05/0.187, allocations: 33.7 kB / 370.8 MB, free: 0.793 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1872, allocations: 208.3 kB / 371 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.1873, allocations: 141.9 kB / 371.2 MB, free: 456 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/0.1873, allocations: 8 kB / 371.2 MB, free: 448 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1875, allocations: 342.8 kB / 371.5 MB, free: 96 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2283/0.4157, allocations: 198.3 kB / 371.7 MB, free: 19.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000759/0.4165, allocations: 306.4 kB / 372 MB, free: 19.05 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/0.4171, allocations: 220.2 kB / 372.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.4171, allocations: 1.5 kB / 372.2 MB, free: 19.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002106/0.4193, allocations: 0.7628 MB / 373 MB, free: 18.99 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4193, allocations: 8.438 kB / 373 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4193, allocations: 2.547 kB / 373 MB, free: 18.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.4207, allocations: 338.9 kB / 373.3 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.4211, allocations: 83.22 kB / 373.4 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.4222, allocations: 1.371 MB / 374.8 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.4227, allocations: 94.25 kB / 374.9 MB, free: 17.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.4227, allocations: 16 kB / 374.9 MB, free: 17.9 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.0002268/0.423, allocations: 154.8 kB / 375 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.423, allocations: 40.39 kB / 375.1 MB, free: 17.77 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.4254, allocations: 0.8206 MB / 375.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4254, allocations: 8.906 kB / 375.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4254, allocations: 0 / 375.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.4254, allocations: 3.531 kB / 375.9 MB, free: 17.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.426, allocations: 467.1 kB / 376.4 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.426, allocations: 0.6094 kB / 376.4 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002849/0.4263, allocations: 69.34 kB / 376.4 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.4274, allocations: 343.8 kB / 376.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.4275, allocations: 8.172 kB / 376.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.4285, allocations: 1.384 MB / 378.2 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4285, allocations: 0 / 378.2 MB, free: 16.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.4309, allocations: 1.129 MB / 379.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.431, allocations: 110.8 kB / 379.4 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.756e-05/0.4311, allocations: 12.53 kB / 379.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.4315, allocations: 59.48 kB / 379.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.4316, allocations: 27.8 kB / 379.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.4316, allocations: 10.39 kB / 379.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002343/0.4318, allocations: 193.2 kB / 379.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4318, allocations: 0 / 379.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000451/0.4323, allocations: 111.7 kB / 379.8 MB, free: 15.59 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.0001669/0.4325, allocations: 110.9 kB / 379.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.4337, allocations: 0.5193 MB / 380.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4337, allocations: 0 / 380.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006722/0.4344, allocations: 277.8 kB / 380.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.4348, allocations: 54.83 kB / 380.8 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001664/0.4365, allocations: 1.069 MB / 381.8 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.4368, allocations: 0.7953 MB / 382.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001658/0.437, allocations: 35.89 kB / 382.7 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.4371, allocations: 22.64 kB / 382.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4371, allocations: 0 / 382.7 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01087/0.4479, allocations: 5.229 MB / 387.9 MB, free: 12.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches