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.001248/0.001248, allocations: 114.3 kB / 17.75 MB, free: 5.332 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.001322/0.001322, allocations: 185.3 kB / 18.68 MB, free: 4.41 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 47.92 kB / 352 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2336, allocations: 49.43 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.003976/0.2376, allocations: 3.132 MB / 404.6 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.239, allocations: 0.804 MB / 405.4 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.2392, allocations: 4 kB / 405.4 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.2394, allocations: 55.38 kB / 405.4 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.2396, allocations: 122.9 kB / 405.5 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.24, allocations: 143.8 kB / 405.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.2405, allocations: 0.5541 MB / 406.2 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.2407, allocations: 160.4 kB / 406.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.241, allocations: 223.3 kB / 406.6 MB, free: 3.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.2413, allocations: 255 kB / 406.9 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.2413, allocations: 52 kB / 406.9 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.2415, allocations: 56 kB / 407 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.082e-05/0.2416, allocations: 115.6 kB / 407.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.2418, allocations: 242.8 kB / 407.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004992/0.2423, allocations: 0.5539 MB / 407.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2423, allocations: 0 / 407.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2423, allocations: 0 / 407.9 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.2423, allocations: 0 / 407.9 MB, free: 2.391 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.001597/0.2439, allocations: 0.7915 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2439, allocations: 8.031 kB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.583e-05/0.2441, allocations: 48.38 kB / 408.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.2445, allocations: 310.5 kB / 409 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.2445, allocations: 29.38 kB / 409 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.2446, allocations: 40.38 kB / 409.1 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.2456, allocations: 0.5087 MB / 409.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2456, allocations: 0 / 409.6 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.2457, allocations: 19.94 kB / 409.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.2457, allocations: 8 kB / 409.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.247, allocations: 0.4918 MB / 410.1 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.002539/0.2496, allocations: 1.667 MB / 411.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2507, allocations: 423.7 kB / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005201/0.2512, allocations: 242.8 kB / 412.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.2513, allocations: 16.3 kB / 412.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.2513, allocations: 38.89 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 2.916e-06/0.2513, allocations: 0 / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004918/0.2562, allocations: 1.361 MB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.626e-05/0.2563, allocations: 166.2 kB / 414 MB, free: 11.88 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003061/0.2566, allocations: 274.9 kB / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2567, allocations: 29.7 kB / 414.3 MB, free: 11.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.2568, allocations: 208.3 kB / 414.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2569, allocations: 138 kB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.257, allocations: 74.14 kB / 414.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2572, allocations: 346.8 kB / 415 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005123/0.2577, allocations: 180.8 kB / 415.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.2583, allocations: 278.5 kB / 415.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.2593, allocations: 434.5 kB / 415.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2593, allocations: 0 / 415.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001855/0.2612, allocations: 0.678 MB / 416.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.2612, allocations: 11.94 kB / 416.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2612, allocations: 0 / 416.6 MB, free: 9.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.2625, allocations: 325.4 kB / 416.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.2629, allocations: 79.88 kB / 417 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.2642, allocations: 1.347 MB / 418.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.2646, allocations: 75.62 kB / 418.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.2647, allocations: 19.98 kB / 418.4 MB, free: 7.266 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.0001915/0.2649, allocations: 157.8 kB / 418.6 MB, free: 7.102 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.097e-05/0.265, allocations: 39.53 kB / 418.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.2671, allocations: 0.7238 MB / 419.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.2671, allocations: 3.984 kB / 419.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2671, allocations: 0 / 419.4 MB, free: 6.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.2672, allocations: 104.7 kB / 419.5 MB, free: 6.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.2673, allocations: 12 kB / 419.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.2677, allocations: 51.94 kB / 419.5 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.2678, allocations: 31.69 kB / 419.6 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002525/0.2703, allocations: 0.7904 MB / 420.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001592/0.2719, allocations: 0.8439 MB / 421.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004655/0.2724, allocations: 195.6 kB / 421.4 MB, free: 4.246 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.2726, allocations: 197.9 kB / 421.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of Backend: time 1.783e-06/0.2726, allocations: 0 / 421.6 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001159/0.2738, allocations: 398.3 kB / 422 MB, free: 3.656 MB / 334.1 MB Notification: Performance of SimCode: time 0.001432/0.2752, allocations: 1.377 MB / 423.3 MB, free: 2.23 MB / 334.1 MB Notification: Performance of Templates: time 0.009926/0.2852, allocations: 6.002 MB / 429.3 MB, free: 12.24 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