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.0009083/0.0009083, allocations: 93.78 kB / 17.31 MB, free: 6.535 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.001065/0.001065, allocations: 174.8 kB / 18.21 MB, free: 5.684 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.282/1.282, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002217/0.0002217, allocations: 8 kB / 302.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07253/0.07277, allocations: 50.42 MB / 352.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.002761/0.07556, allocations: 2.783 MB / 355.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.07668, allocations: 0.7807 MB / 356.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.07682, allocations: 4 kB / 356.1 MB, free: 100 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001239/0.07695, allocations: 43.56 kB / 356.1 MB, free: 56 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.07716, allocations: 99.22 kB / 356.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.07747, allocations: 127.8 kB / 356.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004307/0.07791, allocations: 0.5229 MB / 356.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.07815, allocations: 148.8 kB / 357 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.07837, allocations: 187.3 kB / 357.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.07861, allocations: 219 kB / 357.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.07867, allocations: 28 kB / 357.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.07877, allocations: 32 kB / 357.4 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.07885, allocations: 87.66 kB / 357.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.07903, allocations: 240.5 kB / 357.8 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003311/0.07937, allocations: 407.1 kB / 358.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.07939, allocations: 4 kB / 358.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.07939, allocations: 0 / 358.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.0794, allocations: 0 / 358.2 MB, free: 13.97 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.001401/0.08081, allocations: 0.7526 MB / 358.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.08085, allocations: 8.031 kB / 358.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.568e-05/0.08094, allocations: 48.38 kB / 359 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.08126, allocations: 310.4 kB / 359.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.0813, allocations: 29.38 kB / 359.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.08137, allocations: 36.38 kB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.08247, allocations: 0.536 MB / 359.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.0825, allocations: 0 / 359.9 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.08255, allocations: 16 kB / 359.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.08256, allocations: 11.98 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.08402, allocations: 0.5699 MB / 360.5 MB, free: 11.55 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.002433/0.08646, allocations: 1.694 MB / 362.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.08761, allocations: 470.9 kB / 362.6 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/0.08818, allocations: 276.1 kB / 362.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.08822, allocations: 12.31 kB / 362.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.08825, allocations: 38.83 kB / 362.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of pre-optimization done (n=40): time 1.603e-06/0.08826, allocations: 3.938 kB / 363 MB, free: 8.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.005356/0.09362, allocations: 1.549 MB / 364.5 MB, free: 7.312 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.0937, allocations: 158.2 kB / 364.7 MB, free: 7.121 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003074/0.09402, allocations: 274.9 kB / 364.9 MB, free: 6.848 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.09406, allocations: 33.7 kB / 365 MB, free: 6.809 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.09419, allocations: 212.3 kB / 365.2 MB, free: 6.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.09429, allocations: 134.1 kB / 365.3 MB, free: 6.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.088e-05/0.09435, allocations: 41.69 kB / 365.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.09446, allocations: 338.8 kB / 365.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005652/0.09503, allocations: 208.7 kB / 365.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.09565, allocations: 302.5 kB / 366.2 MB, free: 5.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.09675, allocations: 474.4 kB / 366.6 MB, free: 5.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.09676, allocations: 4 kB / 366.6 MB, free: 5.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001974/0.09874, allocations: 0.7483 MB / 367.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.09877, allocations: 8 kB / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.09878, allocations: 0 / 367.4 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00133/0.1001, allocations: 337.4 kB / 367.7 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.1005, allocations: 91.88 kB / 367.8 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.1017, allocations: 1.358 MB / 369.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.1022, allocations: 99.67 kB / 369.3 MB, free: 2.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.1023, allocations: 16 kB / 369.3 MB, free: 2.332 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 (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.0001661/0.1024, allocations: 157.8 kB / 369.4 MB, free: 2.168 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.955e-05/0.1025, allocations: 35.58 kB / 369.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.1048, allocations: 0.8289 MB / 370.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.1048, allocations: 4 kB / 370.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1049, allocations: 4 kB / 370.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1049, allocations: 0 / 370.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.1054, allocations: 469 kB / 370.8 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1054, allocations: 0 / 370.8 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.1057, allocations: 67.88 kB / 370.8 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.107, allocations: 341.4 kB / 371.2 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.107, allocations: 12.19 kB / 371.2 MB, free: 368 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.139/0.246, allocations: 1.37 MB / 372.5 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.246, allocations: 1.594 kB / 372.5 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/0.2489, allocations: 1.132 MB / 373.7 MB, free: 24.26 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.249, allocations: 112.9 kB / 373.8 MB, free: 24.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.249, allocations: 10.44 kB / 373.8 MB, free: 24.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.2495, allocations: 62.83 kB / 373.9 MB, free: 24.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.2496, allocations: 22.67 kB / 373.9 MB, free: 24.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.2496, allocations: 10.5 kB / 373.9 MB, free: 24.17 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002294/0.2498, allocations: 202.4 kB / 374.1 MB, free: 24.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.2498, allocations: 0 / 374.1 MB, free: 24.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000424/0.2503, allocations: 111 kB / 374.2 MB, free: 24.09 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.0001269/0.2504, allocations: 110 kB / 374.3 MB, free: 24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.2518, allocations: 0.5125 MB / 374.8 MB, free: 23.99 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2518, allocations: 1.5 kB / 374.8 MB, free: 23.99 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.2525, allocations: 274.7 kB / 375.1 MB, free: 23.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004492/0.2529, allocations: 53.88 kB / 375.1 MB, free: 23.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.2545, allocations: 1.143 MB / 376.3 MB, free: 23.39 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.2548, allocations: 0.8 MB / 377.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.2549, allocations: 26.45 kB / 377.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2549, allocations: 5.312 kB / 377.1 MB, free: 22.67 MB / 302.1 MB Notification: Performance of Templates: time 0.009325/0.2642, allocations: 7.095 MB / 384.2 MB, free: 20.83 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/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