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.001432/0.001432, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001455/0.001454, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009566/0.0009566, allocations: 43.92 kB / 351.9 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2408, allocations: 49.45 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003892/0.2447, allocations: 3.137 MB / 404.5 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2461, allocations: 0.7884 MB / 405.3 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.2463, allocations: 4 kB / 405.3 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.2465, allocations: 63.38 kB / 405.4 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.2467, allocations: 118.9 kB / 405.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.2471, allocations: 151.7 kB / 405.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004849/0.2476, allocations: 0.5424 MB / 406.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.2478, allocations: 164.3 kB / 406.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002546/0.2481, allocations: 219.3 kB / 406.5 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.2484, allocations: 259 kB / 406.8 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.2485, allocations: 52 kB / 406.8 MB, free: 3.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.2486, allocations: 52 kB / 406.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.2487, allocations: 119.5 kB / 407 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.2489, allocations: 238.9 kB / 407.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.2494, allocations: 0.5501 MB / 407.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2494, allocations: 0 / 407.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2494, allocations: 3.938 kB / 407.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.2494, allocations: 0 / 407.8 MB, free: 2.426 MB / 318.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.001492/0.2509, allocations: 0.7915 MB / 408.6 MB, free: 1.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.251, allocations: 12.03 kB / 408.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.2511, allocations: 48.38 kB / 408.6 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.2514, allocations: 306.5 kB / 408.9 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.2515, allocations: 33.38 kB / 409 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.041e-05/0.2515, allocations: 40.31 kB / 409 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.2525, allocations: 0.5009 MB / 409.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.2526, allocations: 4 kB / 409.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.2526, allocations: 19.94 kB / 409.5 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2526, allocations: 8 kB / 409.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.2539, allocations: 0.4996 MB / 410 MB, free: 60 kB / 318.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.002466/0.2564, allocations: 1.667 MB / 411.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.2575, allocations: 423.7 kB / 412.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005066/0.258, allocations: 250.8 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.2581, allocations: 8.312 kB / 412.4 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2581, allocations: 38.89 kB / 412.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.295e-06/0.2581, allocations: 0 / 412.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004834/0.263, allocations: 1.361 MB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.2631, allocations: 166.2 kB / 413.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003193/0.2634, allocations: 271 kB / 414.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.2634, allocations: 29.7 kB / 414.2 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.2636, allocations: 212.3 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.98e-05/0.2637, allocations: 134 kB / 414.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.2638, allocations: 78.12 kB / 414.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2639, allocations: 338.8 kB / 415 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/0.2644, allocations: 188.7 kB / 415.2 MB, free: 10.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005636/0.265, allocations: 278.5 kB / 415.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009886/0.266, allocations: 430.5 kB / 415.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.266, allocations: 0 / 415.9 MB, free: 9.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001818/0.2678, allocations: 0.6819 MB / 416.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2679, allocations: 8 kB / 416.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2679, allocations: 0 / 416.5 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.2692, allocations: 325.4 kB / 416.9 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003652/0.2695, allocations: 79.88 kB / 416.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/0.2708, allocations: 1.35 MB / 418.3 MB, free: 7.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.2713, allocations: 71.66 kB / 418.4 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.2713, allocations: 16 kB / 418.4 MB, free: 7.301 MB / 334.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.0001976/0.2715, allocations: 161.8 kB / 418.5 MB, free: 7.133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.896e-05/0.2716, allocations: 35.53 kB / 418.6 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002113/0.2737, allocations: 0.7316 MB / 419.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2737, allocations: 4 kB / 419.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2737, allocations: 0 / 419.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2737, allocations: 0 / 419.3 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005265/0.2743, allocations: 472.9 kB / 419.8 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2743, allocations: 0 / 419.8 MB, free: 5.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.2746, allocations: 59.89 kB / 419.8 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001172/0.2758, allocations: 321.3 kB / 420.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.095e-05/0.2758, allocations: 8 kB / 420.1 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.277, allocations: 1.366 MB / 421.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.277, allocations: 128 / 421.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.2796, allocations: 1.019 MB / 422.5 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.2797, allocations: 116.6 kB / 422.6 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.507e-05/0.2797, allocations: 12 kB / 422.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003656/0.2801, allocations: 40.02 kB / 422.7 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.2802, allocations: 27.95 kB / 422.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.2802, allocations: 12 kB / 422.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.2804, allocations: 193.9 kB / 422.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2804, allocations: 0 / 422.9 MB, free: 2.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004088/0.2809, allocations: 107.8 kB / 423 MB, free: 2.473 MB / 334.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.0001641/0.281, allocations: 123.9 kB / 423.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001265/0.2823, allocations: 476.3 kB / 423.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.2823, allocations: 4 kB / 423.6 MB, free: 1.871 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/0.2829, allocations: 259.5 kB / 423.9 MB, free: 1.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.2833, allocations: 44.86 kB / 423.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2849, allocations: 0.8834 MB / 424.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.2853, allocations: 0.7995 MB / 425.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.725e-05/0.2854, allocations: 23.44 kB / 425.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2854, allocations: 3.938 kB / 425.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of Templates: time 0.008773/0.2941, allocations: 7.14 MB / 432.8 MB, free: 8.66 MB / 350.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