Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001859/0.001859, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002372/0.002372, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 258.2 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 43.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2619, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004442/0.2664, allocations: 2.922 MB / 435.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.2679, allocations: 0.8195 MB / 436.1 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.2681, allocations: 7.938 kB / 436.1 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.2683, allocations: 71.31 kB / 436.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.2685, allocations: 110.9 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.269, allocations: 163.7 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005679/0.2695, allocations: 0.5462 MB / 437 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.2698, allocations: 127.7 kB / 437.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.2702, allocations: 235.3 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.2705, allocations: 258.9 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.2706, allocations: 52 kB / 437.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.2707, allocations: 60 kB / 437.7 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.841e-05/0.2708, allocations: 107.7 kB / 437.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.271, allocations: 203.1 kB / 438 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.2716, allocations: 0.5639 MB / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2716, allocations: 4 kB / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2716, allocations: 0 / 438.6 MB, free: 464 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.2716, allocations: 0 / 438.6 MB, free: 464 kB / 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.001715/0.2733, allocations: 0.7313 MB / 439.3 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2734, allocations: 8.031 kB / 439.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002354/0.2736, allocations: 64.53 kB / 439.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.2741, allocations: 269.2 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.2742, allocations: 29.38 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.906e-05/0.2743, allocations: 36.38 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.2755, allocations: 0.6553 MB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2755, allocations: 0 / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.2755, allocations: 20 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.2756, allocations: 8 kB / 440.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.2769, allocations: 0.4918 MB / 440.9 MB, free: 14.04 MB / 350.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.00244/0.2793, allocations: 1.193 MB / 442.1 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.2805, allocations: 391.7 kB / 442.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.281, allocations: 225.4 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.2811, allocations: 8.328 kB / 442.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2811, allocations: 38.89 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.2811, allocations: 0 / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005157/0.2862, allocations: 1.207 MB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.71e-05/0.2863, allocations: 162.2 kB / 444.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.2867, allocations: 276.1 kB / 444.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.2867, allocations: 37.7 kB / 444.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.2869, allocations: 212.7 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.287, allocations: 150.7 kB / 444.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/0.2872, allocations: 74.08 kB / 444.8 MB, free: 9.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2873, allocations: 342.8 kB / 445.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/0.2879, allocations: 184.7 kB / 445.3 MB, free: 9.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.2885, allocations: 385.3 kB / 445.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.2896, allocations: 430.5 kB / 446.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.2896, allocations: 4 kB / 446.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00191/0.2915, allocations: 0.6744 MB / 446.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.2915, allocations: 11.94 kB / 446.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2915, allocations: 0 / 446.8 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.2929, allocations: 309.5 kB / 447.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.2933, allocations: 83.88 kB / 447.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.2948, allocations: 1.347 MB / 448.5 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.2953, allocations: 75.75 kB / 448.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.2953, allocations: 16.12 kB / 448.6 MB, free: 5.949 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.0002178/0.2955, allocations: 153.8 kB / 448.8 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.87e-05/0.2956, allocations: 35.77 kB / 448.8 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.2978, allocations: 0.7239 MB / 449.5 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.2978, allocations: 4 kB / 449.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2979, allocations: 0 / 449.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.2979, allocations: 8.109 kB / 449.6 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000489/0.2983, allocations: 329 kB / 449.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2983, allocations: 3.938 kB / 449.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003176/0.2987, allocations: 59.89 kB / 449.9 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/0.2999, allocations: 313.4 kB / 450.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.3, allocations: 19.92 kB / 450.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.3013, allocations: 1.355 MB / 451.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3013, allocations: 0 / 451.6 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.304, allocations: 1.02 MB / 452.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.008e-05/0.3041, allocations: 31.73 kB / 452.7 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.3041, allocations: 15.94 kB / 452.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.3045, allocations: 44.02 kB / 452.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.843e-05/0.3046, allocations: 31.72 kB / 452.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.3046, allocations: 12 kB / 452.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.3049, allocations: 191.1 kB / 453 MB, free: 1.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3049, allocations: 0 / 453 MB, free: 1.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004354/0.3053, allocations: 111.8 kB / 453.1 MB, free: 1.379 MB / 350.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.0001615/0.3055, allocations: 107.2 kB / 453.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3067, allocations: 459.3 kB / 453.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3067, allocations: 4 kB / 453.6 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006144/0.3074, allocations: 235.9 kB / 453.8 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3078, allocations: 63.48 kB / 453.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.3095, allocations: 0.879 MB / 454.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.3097, allocations: 194.9 kB / 455 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.3098, allocations: 34.97 kB / 455 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.694e-05/0.3099, allocations: 23.42 kB / 455 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3099, allocations: 0 / 455 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01091/0.3208, allocations: 5.562 MB / 460.6 MB, free: 9.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.895039220005856]