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.001376/0.001376, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001556/0.001556, allocations: 214.4 kB / 23.75 MB, free: 4.668 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.567/1.567, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001652/0.001652, allocations: 51.92 kB / 378.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2633, allocations: 53.36 MB / 431.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.005029/0.2683, allocations: 3.185 MB / 434.8 MB, free: 3.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.2701, allocations: 0.8661 MB / 435.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002068/0.2703, allocations: 4 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.2706, allocations: 63.31 kB / 435.8 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.2708, allocations: 122.9 kB / 435.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.2713, allocations: 151.7 kB / 436 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.2719, allocations: 0.5501 MB / 436.6 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002759/0.2721, allocations: 124.8 kB / 436.7 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003805/0.2725, allocations: 231.2 kB / 436.9 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003315/0.2729, allocations: 255 kB / 437.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.216e-05/0.2729, allocations: 56 kB / 437.2 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.2731, allocations: 63.98 kB / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.985e-05/0.2732, allocations: 111.6 kB / 437.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.2734, allocations: 246.8 kB / 437.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.2741, allocations: 0.5499 MB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2741, allocations: 4 kB / 438.2 MB, free: 348 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2741, allocations: 0 / 438.2 MB, free: 348 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.2741, allocations: 0 / 438.2 MB, free: 348 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.001666/0.2758, allocations: 0.7313 MB / 438.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2758, allocations: 12.03 kB / 438.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.276, allocations: 60.59 kB / 439 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.2765, allocations: 265.2 kB / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.2766, allocations: 33.38 kB / 439.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.2766, allocations: 40.31 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.2777, allocations: 0.5048 MB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2778, allocations: 0 / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.2778, allocations: 19.94 kB / 439.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.2778, allocations: 12 kB / 439.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.2792, allocations: 0.5035 MB / 440.4 MB, free: 14.09 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.002753/0.2819, allocations: 1.605 MB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.2831, allocations: 407.7 kB / 442.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.2836, allocations: 225.3 kB / 442.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.2836, allocations: 8.312 kB / 442.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.2837, allocations: 38.89 kB / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.2837, allocations: 0 / 442.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005173/0.2888, allocations: 1.207 MB / 443.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.2889, allocations: 166.2 kB / 444 MB, free: 10.24 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.2893, allocations: 272.2 kB / 444.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.2894, allocations: 41.64 kB / 444.3 MB, free: 9.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.2895, allocations: 212.7 kB / 444.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.2897, allocations: 138.8 kB / 444.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.2898, allocations: 78.12 kB / 444.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.29, allocations: 338.8 kB / 445.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/0.2905, allocations: 188.7 kB / 445.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005996/0.2911, allocations: 278.5 kB / 445.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.2921, allocations: 422.5 kB / 445.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.85e-06/0.2921, allocations: 4 kB / 445.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001958/0.2941, allocations: 0.682 MB / 446.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.2941, allocations: 4 kB / 446.6 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2941, allocations: 4 kB / 446.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/0.2955, allocations: 317.4 kB / 446.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.2959, allocations: 79.88 kB / 447 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.2974, allocations: 1.351 MB / 448.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004739/0.2979, allocations: 75.67 kB / 448.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.2979, allocations: 16 kB / 448.5 MB, free: 5.625 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.0002409/0.2981, allocations: 157.8 kB / 448.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.2982, allocations: 43.77 kB / 448.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.3004, allocations: 0.7123 MB / 449.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3004, allocations: 4.188 kB / 449.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3004, allocations: 0 / 449.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3004, allocations: 7.969 kB / 449.4 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006967/0.3011, allocations: 452.2 kB / 449.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3011, allocations: 0 / 449.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003067/0.3014, allocations: 59.89 kB / 449.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.3027, allocations: 317.4 kB / 450.2 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.3027, allocations: 16 kB / 450.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.3041, allocations: 1.358 MB / 451.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3041, allocations: 4.125 kB / 451.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.3067, allocations: 1.012 MB / 452.6 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.405e-05/0.3068, allocations: 43.66 kB / 452.6 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.3069, allocations: 12 kB / 452.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.3073, allocations: 44.02 kB / 452.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.262e-05/0.3073, allocations: 31.72 kB / 452.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.3074, allocations: 12 kB / 452.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002769/0.3076, allocations: 195.1 kB / 452.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3076, allocations: 0 / 452.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.3081, allocations: 103.9 kB / 453 MB, free: 0.9219 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.0002271/0.3083, allocations: 123.1 kB / 453.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.3097, allocations: 459.4 kB / 453.6 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3097, allocations: 0 / 453.6 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006242/0.3104, allocations: 240.2 kB / 453.8 MB, free: 108 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.3108, allocations: 48.56 kB / 453.9 MB, free: 60 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.3127, allocations: 0.8839 MB / 454.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.3131, allocations: 0.7995 MB / 455.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001339/0.3132, allocations: 30.97 kB / 455.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.644e-05/0.3133, allocations: 27.38 kB / 455.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3133, allocations: 7.875 kB / 455.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01281/0.3261, allocations: 6.343 MB / 461.9 MB, free: 7.945 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.960360287921503]