Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001506/0.001506, allocations: 107 kB / 19.8 MB, free: 2.5 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.001858/0.001858, allocations: 215.8 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.612/1.612, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 64.03 kB / 376.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.299, allocations: 53.33 MB / 429.8 MB, free: 7.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.007017/0.306, allocations: 3.194 MB / 433 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.3087, allocations: 0.8507 MB / 433.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.3091, allocations: 8 kB / 433.9 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003598/0.3095, allocations: 63.31 kB / 433.9 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003571/0.3098, allocations: 110.9 kB / 434 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.3105, allocations: 159.7 kB / 434.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006644/0.3111, allocations: 0.5503 MB / 434.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.3114, allocations: 120.3 kB / 434.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.3118, allocations: 227.2 kB / 435.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.3122, allocations: 259 kB / 435.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.3123, allocations: 55.94 kB / 435.4 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3124, allocations: 60 kB / 435.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3125, allocations: 107.7 kB / 435.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.3128, allocations: 242.8 kB / 435.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007595/0.3136, allocations: 0.5655 MB / 436.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3136, allocations: 0 / 436.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3136, allocations: 0 / 436.4 MB, free: 0.957 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.412e-05/0.3136, allocations: 0 / 436.4 MB, free: 0.957 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.001728/0.3153, allocations: 0.8027 MB / 437.2 MB, free: 104 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.3154, allocations: 12.03 kB / 437.2 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.3156, allocations: 64.59 kB / 437.2 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.3162, allocations: 327.5 kB / 437.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.3162, allocations: 25.38 kB / 437.6 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.3163, allocations: 40.36 kB / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.3175, allocations: 0.5087 MB / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3175, allocations: 0 / 438.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.43e-05/0.3176, allocations: 16 kB / 438.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.3176, allocations: 12 kB / 438.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.319, allocations: 0.4957 MB / 438.6 MB, free: 14.56 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.002962/0.3219, allocations: 1.663 MB / 440.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.3231, allocations: 407.5 kB / 440.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005098/0.3236, allocations: 225.4 kB / 440.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.316e-05/0.3236, allocations: 4.328 kB / 440.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.3237, allocations: 38.89 kB / 441 MB, free: 12.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.533e-06/0.3237, allocations: 7.938 kB / 441 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005056/0.3287, allocations: 1.357 MB / 442.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001958/0.3289, allocations: 162.2 kB / 442.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.3294, allocations: 271 kB / 442.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.3294, allocations: 33.7 kB / 442.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.3297, allocations: 216.7 kB / 443 MB, free: 9.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.3298, allocations: 142.7 kB / 443.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/0.33, allocations: 78.12 kB / 443.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.3302, allocations: 338.8 kB / 443.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.3307, allocations: 188.7 kB / 443.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.3313, allocations: 278.5 kB / 444 MB, free: 8.871 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3324, allocations: 422.5 kB / 444.4 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3324, allocations: 4 kB / 444.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001917/0.3343, allocations: 0.6742 MB / 445.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.3343, allocations: 12.06 kB / 445.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.3343, allocations: 0 / 445.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.3358, allocations: 321.3 kB / 445.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/0.3361, allocations: 79.88 kB / 445.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.3376, allocations: 1.35 MB / 446.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004521/0.3381, allocations: 71.88 kB / 446.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.3381, allocations: 16 kB / 446.9 MB, free: 5.844 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.0002379/0.3384, allocations: 166 kB / 447.1 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/0.3384, allocations: 35.77 kB / 447.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.3406, allocations: 0.724 MB / 447.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.3406, allocations: 4.047 kB / 447.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3407, allocations: 3.984 kB / 447.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3407, allocations: 3.984 kB / 447.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006272/0.3413, allocations: 469 kB / 448.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3413, allocations: 0 / 448.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.3416, allocations: 59.89 kB / 448.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.3428, allocations: 321.4 kB / 448.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.3428, allocations: 11.98 kB / 448.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.3442, allocations: 1.358 MB / 450.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3442, allocations: 0 / 450.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.3468, allocations: 1.008 MB / 451.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.3469, allocations: 120.8 kB / 451.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.941e-05/0.347, allocations: 15.94 kB / 451.2 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.3473, allocations: 35.95 kB / 451.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.3474, allocations: 31.92 kB / 451.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.3474, allocations: 12 kB / 451.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.3477, allocations: 205.9 kB / 451.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3477, allocations: 0 / 451.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.3481, allocations: 111.8 kB / 451.6 MB, free: 1.012 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.0002139/0.3483, allocations: 111.1 kB / 451.7 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3496, allocations: 459.3 kB / 452.2 MB, free: 452 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3496, allocations: 4.438 kB / 452.2 MB, free: 448 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.3502, allocations: 243.9 kB / 452.4 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3506, allocations: 46.89 kB / 452.4 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.3524, allocations: 0.8925 MB / 453.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/0.3529, allocations: 0.7917 MB / 454.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.353, allocations: 34.97 kB / 454.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.3531, allocations: 23.44 kB / 454.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3531, allocations: 0 / 454.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01228/0.3654, allocations: 6.223 MB / 460.4 MB, free: 8.16 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.212270913645625]