Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001863/0.001863, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.152 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-beta.om/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=5051,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 75.83 kB / 378.7 MB, free: 2.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2823, allocations: 53.32 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004674/0.287, allocations: 3.206 MB / 435.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2886, allocations: 0.843 MB / 436.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.2888, allocations: 4 kB / 436.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.289, allocations: 75.25 kB / 436.2 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2892, allocations: 114.9 kB / 436.3 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004193/0.2896, allocations: 155.7 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005605/0.2901, allocations: 0.5463 MB / 437 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002686/0.2904, allocations: 124.4 kB / 437.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003329/0.2907, allocations: 235.2 kB / 437.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003152/0.2911, allocations: 251 kB / 437.6 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.695e-05/0.2911, allocations: 52 kB / 437.6 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2913, allocations: 60 kB / 437.7 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.2914, allocations: 111.6 kB / 437.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.2916, allocations: 242.8 kB / 438 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.2922, allocations: 0.5623 MB / 438.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2922, allocations: 0 / 438.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2922, allocations: 0 / 438.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.2922, allocations: 0 / 438.6 MB, free: 0.793 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.00169/0.2939, allocations: 0.8066 MB / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2939, allocations: 12.03 kB / 439.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.2942, allocations: 56.61 kB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.2946, allocations: 327.5 kB / 439.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.2947, allocations: 29.38 kB / 439.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.382e-05/0.2947, allocations: 40.31 kB / 439.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.2958, allocations: 0.5047 MB / 440.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.2958, allocations: 4 kB / 440.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.2959, allocations: 12 kB / 440.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.2959, allocations: 8 kB / 440.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.2972, allocations: 0.4996 MB / 440.9 MB, free: 14.4 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.002641/0.2999, allocations: 1.668 MB / 442.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.301, allocations: 399.7 kB / 443 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005229/0.3015, allocations: 221.4 kB / 443.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.551e-05/0.3016, allocations: 12.31 kB / 443.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.3016, allocations: 42.81 kB / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.014e-06/0.3016, allocations: 0 / 443.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00494/0.3065, allocations: 1.358 MB / 444.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3067, allocations: 158.2 kB / 444.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.307, allocations: 275 kB / 445 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.307, allocations: 33.7 kB / 445 MB, free: 9.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.3072, allocations: 216.7 kB / 445.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.3073, allocations: 142.7 kB / 445.4 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.3075, allocations: 78.06 kB / 445.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3076, allocations: 350.8 kB / 445.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000511/0.3081, allocations: 176.8 kB / 446 MB, free: 9.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/0.3087, allocations: 282.5 kB / 446.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.3097, allocations: 430.5 kB / 446.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3097, allocations: 0 / 446.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001851/0.3116, allocations: 0.6742 MB / 447.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3116, allocations: 4 kB / 447.4 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3116, allocations: 4 kB / 447.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.3129, allocations: 325.4 kB / 447.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.3132, allocations: 79.88 kB / 447.8 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.3146, allocations: 1.351 MB / 449.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.3151, allocations: 71.67 kB / 449.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.349e-05/0.3151, allocations: 20.12 kB / 449.2 MB, free: 5.672 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.0002138/0.3153, allocations: 161.8 kB / 449.4 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.3154, allocations: 35.81 kB / 449.4 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.3175, allocations: 0.7162 MB / 450.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.3175, allocations: 4 kB / 450.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3175, allocations: 4 kB / 450.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3176, allocations: 7.984 kB / 450.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.3181, allocations: 465.2 kB / 450.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3181, allocations: 0 / 450.6 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.3184, allocations: 67.83 kB / 450.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.3196, allocations: 317.4 kB / 451 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.644e-05/0.3196, allocations: 15.98 kB / 451 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.321, allocations: 1.355 MB / 452.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.321, allocations: 0 / 452.3 MB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.3236, allocations: 1.016 MB / 453.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3237, allocations: 116.8 kB / 453.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.613e-05/0.3237, allocations: 4 kB / 453.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.3241, allocations: 48 kB / 453.5 MB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.3242, allocations: 27.75 kB / 453.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.972e-05/0.3242, allocations: 12 kB / 453.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.3244, allocations: 197.9 kB / 453.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3244, allocations: 0 / 453.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.3249, allocations: 111.8 kB / 453.8 MB, free: 0.8516 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.0001878/0.3251, allocations: 115.5 kB / 454 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.3264, allocations: 459.4 kB / 454.4 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3264, allocations: 0 / 454.4 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006022/0.327, allocations: 248.2 kB / 454.6 MB, free: 40 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3274, allocations: 47.92 kB / 454.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3292, allocations: 0.9179 MB / 455.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3296, allocations: 0.7995 MB / 456.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.791e-05/0.3297, allocations: 31.42 kB / 456.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3297, allocations: 0 / 456.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Templates: time 0.01012/0.3398, allocations: 7.215 MB / 463.7 MB, free: 6.969 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.573786171153188]