Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 83.69 kB / 22 MB, free: 5.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 161.8 kB / 25.25 MB, free: 3.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 158.6 MB / 187 MB, free: 6.488 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 59.92 kB / 299.4 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2445, allocations: 49.14 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004689/0.2492, allocations: 2.854 MB / 351.4 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.2508, allocations: 0.8041 MB / 352.2 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.251, allocations: 8 kB / 352.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002023/0.2512, allocations: 59.38 kB / 352.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.2514, allocations: 114.9 kB / 352.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.2518, allocations: 143.7 kB / 352.5 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.2524, allocations: 0.5385 MB / 353 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000263/0.2527, allocations: 120.6 kB / 353.1 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.253, allocations: 219.3 kB / 353.4 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.2533, allocations: 219 kB / 353.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.2534, allocations: 52 kB / 353.6 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2535, allocations: 56 kB / 353.7 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2536, allocations: 115.6 kB / 353.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.2539, allocations: 199.2 kB / 354 MB, free: 10.01 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006394/0.2545, allocations: 0.555 MB / 354.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.2545, allocations: 3.938 kB / 354.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2545, allocations: 0 / 354.5 MB, free: 9.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2545, allocations: 4 kB / 354.5 MB, free: 9.449 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.00177/0.2563, allocations: 0.7235 MB / 355.3 MB, free: 8.691 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2563, allocations: 15.98 kB / 355.3 MB, free: 8.676 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.2565, allocations: 48.66 kB / 355.3 MB, free: 8.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/0.257, allocations: 253.3 kB / 355.6 MB, free: 8.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.257, allocations: 29.38 kB / 355.6 MB, free: 8.328 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.2571, allocations: 40.31 kB / 355.6 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/0.2584, allocations: 0.6437 MB / 356.3 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2584, allocations: 4 kB / 356.3 MB, free: 7.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.2584, allocations: 16 kB / 356.3 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2584, allocations: 15.94 kB / 356.3 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.26, allocations: 0.4957 MB / 356.8 MB, free: 7.055 MB / 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.002553/0.2625, allocations: 1.19 MB / 358 MB, free: 5.805 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.2637, allocations: 391.7 kB / 358.4 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.2642, allocations: 229.3 kB / 358.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.2643, allocations: 4.328 kB / 358.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.2643, allocations: 38.89 kB / 358.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.803e-06/0.2643, allocations: 0 / 358.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.004916/0.2692, allocations: 1.211 MB / 359.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.2693, allocations: 166.2 kB / 360 MB, free: 3.715 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.2697, allocations: 257.8 kB / 360.3 MB, free: 3.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.2697, allocations: 33.7 kB / 360.3 MB, free: 3.418 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001599/0.2698, allocations: 216.7 kB / 360.5 MB, free: 3.199 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.27, allocations: 150.7 kB / 360.7 MB, free: 3.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.2701, allocations: 78.19 kB / 360.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2703, allocations: 334.8 kB / 361.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.2708, allocations: 192.9 kB / 361.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.2715, allocations: 382 kB / 361.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2725, allocations: 422.6 kB / 362.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2725, allocations: 0 / 362.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001882/0.2744, allocations: 0.6744 MB / 362.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2744, allocations: 11.94 kB / 362.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2744, allocations: 0 / 362.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.2757, allocations: 317.3 kB / 363.1 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.2761, allocations: 83.88 kB / 363.1 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.2775, allocations: 1.347 MB / 364.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.278, allocations: 79.7 kB / 364.6 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.562e-05/0.278, allocations: 20.12 kB / 364.6 MB, free: 14.98 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.0002318/0.2782, allocations: 149.8 kB / 364.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.2783, allocations: 35.77 kB / 364.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002231/0.2805, allocations: 0.7274 MB / 365.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.2805, allocations: 4 kB / 365.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2805, allocations: 0 / 365.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.2806, allocations: 4 kB / 365.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.281, allocations: 336.9 kB / 365.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.281, allocations: 0 / 365.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.2813, allocations: 63.81 kB / 365.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.2825, allocations: 321.4 kB / 366.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.2826, allocations: 8 kB / 366.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001356/0.2839, allocations: 1.358 MB / 367.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2839, allocations: 0 / 367.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.2865, allocations: 1.012 MB / 368.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.2866, allocations: 31.78 kB / 368.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.2866, allocations: 11.98 kB / 368.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.287, allocations: 44.02 kB / 368.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.2871, allocations: 23.95 kB / 368.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.2871, allocations: 15.98 kB / 368.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.2874, allocations: 185.2 kB / 368.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2874, allocations: 0 / 368.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004285/0.2878, allocations: 111.8 kB / 369 MB, free: 10.43 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.0001664/0.288, allocations: 111.7 kB / 369.1 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.2893, allocations: 452.2 kB / 369.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.2893, allocations: 3.938 kB / 369.5 MB, free: 9.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006159/0.2899, allocations: 243.5 kB / 369.8 MB, free: 9.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.2903, allocations: 52.62 kB / 369.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.292, allocations: 0.882 MB / 370.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.2922, allocations: 191 kB / 370.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2923, allocations: 30.92 kB / 370.9 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.2924, allocations: 32.48 kB / 371 MB, free: 8.387 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2924, allocations: 0 / 371 MB, free: 8.387 MB / 334.1 MB Notification: Performance of Templates: time 0.01047/0.3028, allocations: 4.965 MB / 375.9 MB, free: 3.414 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6227851420408115]