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.001859/0.001859, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.002257/0.002257, allocations: 192 kB / 18 MB, free: 4.977 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.562/1.562, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 47.92 kB / 351.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4733/0.4746, allocations: 49.43 MB / 400.7 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005518/0.4802, allocations: 3.139 MB / 403.9 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.4822, allocations: 0.7923 MB / 404.7 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.4824, allocations: 12 kB / 404.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002324/0.4826, allocations: 59.38 kB / 404.7 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002093/0.4829, allocations: 114.9 kB / 404.8 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.4833, allocations: 155.7 kB / 405 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000517/0.4839, allocations: 0.5424 MB / 405.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.4842, allocations: 172.3 kB / 405.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002847/0.4845, allocations: 211.3 kB / 405.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.4848, allocations: 259 kB / 406.2 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.4849, allocations: 52 kB / 406.2 MB, free: 3.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.485, allocations: 52 kB / 406.3 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.4851, allocations: 115.6 kB / 406.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002585/0.4854, allocations: 238.8 kB / 406.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.4861, allocations: 0.554 MB / 407.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.4861, allocations: 0 / 407.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4861, allocations: 0 / 407.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.4861, allocations: 0 / 407.2 MB, free: 2.402 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.001825/0.488, allocations: 0.7954 MB / 408 MB, free: 1.555 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.488, allocations: 12.03 kB / 408 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.4881, allocations: 48.38 kB / 408 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.4886, allocations: 306.5 kB / 408.3 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.4887, allocations: 29.38 kB / 408.3 MB, free: 1.129 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.4888, allocations: 36.38 kB / 408.4 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.4898, allocations: 0.5047 MB / 408.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.4899, allocations: 0 / 408.9 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.4899, allocations: 19.94 kB / 408.9 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.4899, allocations: 15.98 kB / 408.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.4913, allocations: 0.4996 MB / 409.4 MB, free: 32 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.002791/0.4941, allocations: 1.659 MB / 411.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.4953, allocations: 423.7 kB / 411.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.4958, allocations: 249.3 kB / 411.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.4959, allocations: 8.312 kB / 411.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.4959, allocations: 38.89 kB / 411.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.575e-06/0.4959, allocations: 0 / 411.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.005066/0.501, allocations: 1.369 MB / 413.2 MB, free: 12.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.5011, allocations: 162.2 kB / 413.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.5015, allocations: 267 kB / 413.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.5016, allocations: 37.7 kB / 413.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/0.5018, allocations: 208.3 kB / 413.8 MB, free: 11.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.5019, allocations: 138 kB / 413.9 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.5021, allocations: 70.12 kB / 414 MB, free: 11.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.5023, allocations: 346.8 kB / 414.4 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005112/0.5028, allocations: 180.7 kB / 414.5 MB, free: 10.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005689/0.5034, allocations: 282.5 kB / 414.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009969/0.5044, allocations: 430.5 kB / 415.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5044, allocations: 0 / 415.2 MB, free: 9.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001921/0.5063, allocations: 0.6819 MB / 415.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.5064, allocations: 8 kB / 415.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.5064, allocations: 0 / 415.9 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001328/0.5077, allocations: 321.4 kB / 416.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.5081, allocations: 79.88 kB / 416.3 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001301/0.5094, allocations: 1.354 MB / 417.7 MB, free: 7.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.5099, allocations: 71.66 kB / 417.7 MB, free: 7.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.5099, allocations: 20.06 kB / 417.8 MB, free: 7.273 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.0002622/0.5102, allocations: 159.4 kB / 417.9 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.829e-05/0.5103, allocations: 39.53 kB / 417.9 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.5125, allocations: 0.7316 MB / 418.7 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.904e-06/0.5125, allocations: 4 kB / 418.7 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.5125, allocations: 4 kB / 418.7 MB, free: 6.316 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5125, allocations: 3.984 kB / 418.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.5132, allocations: 460.9 kB / 419.1 MB, free: 5.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5132, allocations: 4 kB / 419.1 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.5135, allocations: 59.89 kB / 419.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/0.5147, allocations: 325.3 kB / 419.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.5148, allocations: 12.03 kB / 419.5 MB, free: 5.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/0.5163, allocations: 1.358 MB / 420.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.5163, allocations: 3.984 kB / 420.9 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.519, allocations: 1.016 MB / 421.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.5191, allocations: 116.6 kB / 422 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.181e-05/0.5192, allocations: 12 kB / 422 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.5196, allocations: 40.02 kB / 422.1 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-05/0.5197, allocations: 27.95 kB / 422.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.5197, allocations: 12 kB / 422.1 MB, free: 2.738 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002601/0.52, allocations: 193.9 kB / 422.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.52, allocations: 0 / 422.3 MB, free: 2.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.5204, allocations: 107.8 kB / 422.4 MB, free: 2.445 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.0002578/0.5207, allocations: 123.9 kB / 422.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.5221, allocations: 476.1 kB / 423 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5221, allocations: 0 / 423 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.5228, allocations: 263.9 kB / 423.2 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/0.5232, allocations: 48.58 kB / 423.3 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.5251, allocations: 0.8582 MB / 424.2 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.5255, allocations: 0.7956 MB / 425 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.5256, allocations: 26.98 kB / 425 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.5257, allocations: 27.36 kB / 425 MB, free: 15.78 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5257, allocations: 4 kB / 425 MB, free: 15.78 MB / 350.1 MB Notification: Performance of Templates: time 0.01138/0.5371, allocations: 5.973 MB / 431 MB, free: 9.828 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/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