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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 108.3 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009563/0.0009565, allocations: 55.91 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2663, allocations: 50.45 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003523/0.2698, allocations: 3.182 MB / 410.2 MB, free: 24.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2711, allocations: 0.8434 MB / 411.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.2713, allocations: 11.94 kB / 411.1 MB, free: 23.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.2715, allocations: 39.62 kB / 411.1 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.2716, allocations: 95.22 kB / 411.2 MB, free: 23.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.2719, allocations: 131.8 kB / 411.3 MB, free: 23.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.2723, allocations: 0.5191 MB / 411.9 MB, free: 22.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002147/0.2725, allocations: 136.8 kB / 412 MB, free: 22.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002367/0.2728, allocations: 219.2 kB / 412.2 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.273, allocations: 239 kB / 412.4 MB, free: 22.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.395e-05/0.273, allocations: 36 kB / 412.5 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.851e-05/0.2731, allocations: 44 kB / 412.5 MB, free: 22.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.2732, allocations: 95.64 kB / 412.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.2733, allocations: 222.8 kB / 412.8 MB, free: 22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.2737, allocations: 0.527 MB / 413.4 MB, free: 21.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2737, allocations: 0 / 413.4 MB, free: 21.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2737, allocations: 4 kB / 413.4 MB, free: 21.47 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2737, allocations: 4 kB / 413.4 MB, free: 21.47 MB / 298.7 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.001311/0.275, allocations: 0.7953 MB / 414.2 MB, free: 20.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2751, allocations: 8.594 kB / 414.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.2753, allocations: 56.38 kB / 414.2 MB, free: 20.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.2755, allocations: 314.4 kB / 414.5 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.2756, allocations: 29.38 kB / 414.6 MB, free: 20.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.661e-05/0.2756, allocations: 36.38 kB / 414.6 MB, free: 20.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/0.2765, allocations: 0.5009 MB / 415.1 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.2765, allocations: 0 / 415.1 MB, free: 19.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.2766, allocations: 16 kB / 415.1 MB, free: 19.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2766, allocations: 12 kB / 415.1 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.2778, allocations: 0.4957 MB / 415.6 MB, free: 19.1 MB / 298.7 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.002023/0.2798, allocations: 1.659 MB / 417.3 MB, free: 17.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/0.2807, allocations: 436.9 kB / 417.7 MB, free: 16.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.2812, allocations: 241 kB / 417.9 MB, free: 16.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.06e-05/0.2812, allocations: 16.31 kB / 418 MB, free: 16.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.2813, allocations: 46.88 kB / 418 MB, free: 16.56 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.784e-06/0.2813, allocations: 0 / 418 MB, free: 16.56 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.004389/0.2857, allocations: 1.365 MB / 419.4 MB, free: 15.15 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2857, allocations: 162.2 kB / 419.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.286, allocations: 270.9 kB / 419.8 MB, free: 14.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.286, allocations: 37.7 kB / 419.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.2861, allocations: 208.3 kB / 420 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.2862, allocations: 141.9 kB / 420.2 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.2863, allocations: 74.12 kB / 420.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.2864, allocations: 346.8 kB / 420.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/0.2868, allocations: 180.8 kB / 420.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.2873, allocations: 278.5 kB / 421 MB, free: 13.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008189/0.2881, allocations: 434.5 kB / 421.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2881, allocations: 0 / 421.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001596/0.2897, allocations: 0.6819 MB / 422.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.2898, allocations: 4 kB / 422.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2898, allocations: 7.984 kB / 422.1 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.291, allocations: 321.4 kB / 422.5 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.2913, allocations: 75.88 kB / 422.5 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/0.2922, allocations: 1.35 MB / 423.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.2926, allocations: 75.66 kB / 424 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.2927, allocations: 16 kB / 424 MB, free: 10.34 MB / 298.7 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.0001471/0.2928, allocations: 167.2 kB / 424.1 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.2929, allocations: 31.62 kB / 424.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001878/0.2948, allocations: 0.7275 MB / 424.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2948, allocations: 8 kB / 424.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2948, allocations: 0 / 424.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2948, allocations: 4.219 kB / 424.9 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.2952, allocations: 472.9 kB / 425.4 MB, free: 8.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2952, allocations: 3.938 kB / 425.4 MB, free: 8.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.2955, allocations: 51.95 kB / 425.4 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001056/0.2966, allocations: 329.4 kB / 425.7 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.2966, allocations: 8 kB / 425.8 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009471/0.2976, allocations: 1.366 MB / 427.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2976, allocations: 0 / 427.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/0.3136, allocations: 9.556 MB / 436.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.62e-05/0.3138, allocations: 108.7 kB / 436.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.3138, allocations: 12 kB / 436.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.3142, allocations: 51.95 kB / 436.8 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.3143, allocations: 35.67 kB / 436.9 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.3143, allocations: 12 kB / 436.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002419/0.3146, allocations: 189.9 kB / 437.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3146, allocations: 0 / 437.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006483/0.3152, allocations: 179.8 kB / 437.2 MB, free: 12.46 MB / 314.7 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.0002106/0.3155, allocations: 114.5 kB / 437.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3168, allocations: 487.8 kB / 437.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3168, allocations: 4 kB / 437.8 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.3174, allocations: 252.1 kB / 438.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005364/0.318, allocations: 40.55 kB / 438.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.3207, allocations: 1.624 MB / 439.8 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.3211, allocations: 0.8158 MB / 440.6 MB, free: 9.051 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001819/0.3213, allocations: 30.98 kB / 440.6 MB, free: 9.023 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.3214, allocations: 27.42 kB / 440.6 MB, free: 8.996 MB / 314.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3214, allocations: 0 / 440.6 MB, free: 8.996 MB / 314.7 MB Notification: Performance of Templates: time 0.01359/0.335, allocations: 8.438 MB / 449.1 MB, free: 0.5781 MB / 314.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches