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.002101/0.002101, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001613/0.001613, allocations: 212.2 kB / 23.73 MB, free: 4.16 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.49/1.49, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.001753/0.001753, allocations: 47.92 kB / 378.2 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.276, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004432/0.2805, allocations: 2.921 MB / 434.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2821, allocations: 0.8156 MB / 435.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001835/0.2823, allocations: 11.94 kB / 435.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001953/0.2825, allocations: 59.38 kB / 435.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.2827, allocations: 118.9 kB / 435.5 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.2831, allocations: 163.7 kB / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005813/0.2837, allocations: 0.5501 MB / 436.2 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003294/0.284, allocations: 116.4 kB / 436.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004627/0.2845, allocations: 235.3 kB / 436.6 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.2848, allocations: 219 kB / 436.8 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.2849, allocations: 52 kB / 436.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.285, allocations: 59.98 kB / 436.9 MB, free: 1.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.2851, allocations: 119.6 kB / 437 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.2853, allocations: 199.2 kB / 437.2 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006586/0.286, allocations: 0.559 MB / 437.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.286, allocations: 0 / 437.8 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.286, allocations: 3.938 kB / 437.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.286, allocations: 0 / 437.8 MB, free: 0.5234 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.001665/0.2877, allocations: 0.7379 MB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.2877, allocations: 12.03 kB / 438.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.2879, allocations: 60.59 kB / 438.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.2884, allocations: 265.1 kB / 438.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.2885, allocations: 29.38 kB / 438.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.2885, allocations: 36.38 kB / 438.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.2897, allocations: 0.6593 MB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.2897, allocations: 0 / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.2898, allocations: 16 kB / 439.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2898, allocations: 8 kB / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.2912, allocations: 0.4996 MB / 440.1 MB, free: 14.1 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.002498/0.2937, allocations: 1.185 MB / 441.3 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.2949, allocations: 404.1 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000525/0.2954, allocations: 219.8 kB / 441.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.2954, allocations: 12.31 kB / 441.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.2955, allocations: 34.89 kB / 441.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.2955, allocations: 4 kB / 441.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004997/0.3005, allocations: 1.207 MB / 443.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.3006, allocations: 166.2 kB / 443.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.3009, allocations: 272.1 kB / 443.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.301, allocations: 29.7 kB / 443.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.3011, allocations: 216.7 kB / 443.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3012, allocations: 150.8 kB / 443.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3014, allocations: 78.08 kB / 444 MB, free: 10 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.3015, allocations: 338.8 kB / 444.3 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.3021, allocations: 184.7 kB / 444.5 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.3027, allocations: 393.2 kB / 444.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3038, allocations: 414.6 kB / 445.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3038, allocations: 4 kB / 445.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00193/0.3057, allocations: 0.6782 MB / 446 MB, free: 7.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3057, allocations: 7.938 kB / 446 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.3058, allocations: 4 kB / 446 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.3071, allocations: 321.4 kB / 446.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3075, allocations: 75.88 kB / 446.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.3089, allocations: 1.351 MB / 447.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.3094, allocations: 71.75 kB / 447.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.3094, allocations: 16 kB / 447.8 MB, free: 6.016 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.000211/0.3096, allocations: 157.8 kB / 448 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.713e-05/0.3097, allocations: 35.77 kB / 448 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.3119, allocations: 0.7201 MB / 448.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.312, allocations: 4 kB / 448.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.312, allocations: 0 / 448.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.312, allocations: 0 / 448.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.3125, allocations: 332.9 kB / 449.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.3125, allocations: 0 / 449.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.3128, allocations: 63.83 kB / 449.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.314, allocations: 321.4 kB / 449.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.314, allocations: 15.98 kB / 449.5 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.3154, allocations: 1.358 MB / 450.8 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3154, allocations: 4.312 kB / 450.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.3181, allocations: 1.008 MB / 451.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.3182, allocations: 47.66 kB / 451.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.011e-05/0.3182, allocations: 8 kB / 451.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.3186, allocations: 39.95 kB / 451.9 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.239e-05/0.3187, allocations: 31.72 kB / 452 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.3187, allocations: 12.06 kB / 452 MB, free: 1.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.319, allocations: 191.1 kB / 452.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.319, allocations: 0 / 452.2 MB, free: 1.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004375/0.3194, allocations: 119.8 kB / 452.3 MB, free: 1.438 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.0001984/0.3196, allocations: 107.2 kB / 452.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.3209, allocations: 459.3 kB / 452.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3209, allocations: 0 / 452.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006327/0.3215, allocations: 244.3 kB / 453.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3219, allocations: 40.58 kB / 453.1 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.3237, allocations: 0.8851 MB / 454 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3239, allocations: 198.9 kB / 454.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.324, allocations: 26.97 kB / 454.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.3241, allocations: 31.44 kB / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3241, allocations: 0 / 454.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of Templates: time 0.01116/0.3352, allocations: 5.447 MB / 459.7 MB, free: 10.03 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins/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.895148331299424]