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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001142/0.001143, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001222, allocations: 210.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001116, allocations: 63.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2235, allocations: 50.55 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.00416/0.2277, allocations: 3.161 MB / 413.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2292, allocations: 0.8507 MB / 414 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001979/0.2295, allocations: 4 kB / 414 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.2297, allocations: 63.38 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.2299, allocations: 114.9 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.2303, allocations: 163.7 kB / 414.3 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.2308, allocations: 0.5463 MB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.2311, allocations: 164.3 kB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.2314, allocations: 231.2 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.2317, allocations: 255 kB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.2318, allocations: 55.94 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2319, allocations: 59.98 kB / 415.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.232, allocations: 107.7 kB / 415.7 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.2322, allocations: 238.9 kB / 415.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005668/0.2328, allocations: 0.564 MB / 416.5 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2328, allocations: 4 kB / 416.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.2328, allocations: 0 / 416.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2328, allocations: 0 / 416.5 MB, free: 11.01 MB / 334.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.00152/0.2343, allocations: 0.8065 MB / 417.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.2344, allocations: 8.031 kB / 417.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.2346, allocations: 68.59 kB / 417.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004016/0.235, allocations: 319.5 kB / 417.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.235, allocations: 29.38 kB / 417.7 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/0.2351, allocations: 36.38 kB / 417.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2362, allocations: 0.5009 MB / 418.3 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.2362, allocations: 3.938 kB / 418.3 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/0.2362, allocations: 16 kB / 418.3 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2363, allocations: 8 kB / 418.3 MB, free: 9.113 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.2376, allocations: 0.4996 MB / 418.8 MB, free: 8.613 MB / 334.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.002485/0.2401, allocations: 1.659 MB / 420.4 MB, free: 6.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.2412, allocations: 435.6 kB / 420.9 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.2417, allocations: 237.4 kB / 421.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.2417, allocations: 16.3 kB / 421.1 MB, free: 6.121 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.2418, allocations: 34.89 kB / 421.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.824e-06/0.2418, allocations: 0 / 421.2 MB, free: 6.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.004822/0.2466, allocations: 1.365 MB / 422.5 MB, free: 4.664 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.2467, allocations: 162.2 kB / 422.7 MB, free: 4.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/0.247, allocations: 271 kB / 422.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.2471, allocations: 33.7 kB / 423 MB, free: 4.152 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.2472, allocations: 216.7 kB / 423.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.2473, allocations: 142.7 kB / 423.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.2475, allocations: 74.12 kB / 423.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2476, allocations: 346.8 kB / 423.7 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005553/0.2482, allocations: 176.8 kB / 423.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/0.2488, allocations: 294.5 kB / 424.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009697/0.2497, allocations: 422.6 kB / 424.6 MB, free: 2.438 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2498, allocations: 3.938 kB / 424.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001797/0.2516, allocations: 0.6744 MB / 425.3 MB, free: 1.746 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2516, allocations: 11.92 kB / 425.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.2516, allocations: 8.062 kB / 425.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.253, allocations: 321.3 kB / 425.6 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.2533, allocations: 75.88 kB / 425.7 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.2546, allocations: 1.343 MB / 427 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.2551, allocations: 79.8 kB / 427.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.2551, allocations: 19.98 kB / 427.1 MB, free: 15.84 MB / 350.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.0001919/0.2553, allocations: 162.1 kB / 427.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.2554, allocations: 39.7 kB / 427.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.2575, allocations: 0.7201 MB / 428.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.2576, allocations: 3.984 kB / 428.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2576, allocations: 4 kB / 428.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.47e-05/0.2577, allocations: 116.7 kB / 428.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.2577, allocations: 12 kB / 428.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.2581, allocations: 39.94 kB / 428.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.2582, allocations: 31.91 kB / 428.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002518/0.2607, allocations: 0.7945 MB / 429.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001582/0.2623, allocations: 0.8554 MB / 429.9 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004488/0.2628, allocations: 183.9 kB / 430.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002273/0.263, allocations: 201.9 kB / 430.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of Backend: time 5.81e-07/0.263, allocations: 0 / 430.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.2643, allocations: 402 kB / 430.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of SimCode: time 0.001419/0.2657, allocations: 1.395 MB / 432.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of Templates: time 0.01031/0.276, allocations: 6.058 MB / 438.1 MB, free: 4.734 MB / 350.1 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/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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches