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.001616/0.001616, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001557/0.001557, allocations: 203.7 kB / 23.72 MB, free: 4.391 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.542/1.542, allocations: 230.5 MB / 257.4 MB, free: 7.77 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.00207/0.00207, allocations: 67.89 kB / 378.2 MB, free: 2.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2845, allocations: 53.4 MB / 431.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004433/0.2889, allocations: 2.926 MB / 434.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.2905, allocations: 0.8156 MB / 435.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001714/0.2906, allocations: 8 kB / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.2908, allocations: 63.31 kB / 435.5 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.291, allocations: 118.9 kB / 435.6 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.2915, allocations: 159.7 kB / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.292, allocations: 0.5539 MB / 436.3 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.2923, allocations: 116.8 kB / 436.4 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003291/0.2926, allocations: 227.3 kB / 436.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.2929, allocations: 219 kB / 436.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.433e-05/0.293, allocations: 56 kB / 436.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.2931, allocations: 67.92 kB / 436.9 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.2932, allocations: 111.6 kB / 437.1 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002137/0.2934, allocations: 203.1 kB / 437.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006228/0.2941, allocations: 0.5616 MB / 437.8 MB, free: 340 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2941, allocations: 0 / 437.8 MB, free: 340 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2941, allocations: 0 / 437.8 MB, free: 340 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2941, allocations: 0 / 437.8 MB, free: 340 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.001622/0.2957, allocations: 0.7352 MB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2957, allocations: 11.98 kB / 438.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.2959, allocations: 64.59 kB / 438.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.2965, allocations: 265.2 kB / 438.9 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.743e-05/0.2965, allocations: 29.31 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.466e-05/0.2966, allocations: 36.38 kB / 439 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.2978, allocations: 0.6554 MB / 439.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2978, allocations: 0 / 439.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.2979, allocations: 16 kB / 439.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.2979, allocations: 12 kB / 439.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.2993, allocations: 0.5035 MB / 440.1 MB, free: 13.9 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.002538/0.3018, allocations: 1.177 MB / 441.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.3029, allocations: 402.8 kB / 441.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005317/0.3035, allocations: 228.7 kB / 441.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.85e-05/0.3035, allocations: 8.328 kB / 441.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.3036, allocations: 38.89 kB / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/0.3036, allocations: 0 / 442 MB, free: 11.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.004982/0.3085, allocations: 1.207 MB / 443.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.3086, allocations: 158.2 kB / 443.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.309, allocations: 276.1 kB / 443.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.993e-05/0.309, allocations: 37.7 kB / 443.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.3092, allocations: 212.7 kB / 443.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.3093, allocations: 146.7 kB / 444 MB, free: 9.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.3095, allocations: 82.08 kB / 444.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3096, allocations: 338.8 kB / 444.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.3102, allocations: 188.7 kB / 444.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.3109, allocations: 393.2 kB / 445 MB, free: 8.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3119, allocations: 410.6 kB / 445.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3119, allocations: 0 / 445.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001957/0.3139, allocations: 0.6743 MB / 446.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3139, allocations: 15.88 kB / 446.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.3139, allocations: 0 / 446.1 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.3152, allocations: 321.4 kB / 446.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.3156, allocations: 79.88 kB / 446.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.317, allocations: 1.351 MB / 447.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004625/0.3175, allocations: 71.72 kB / 447.9 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.3175, allocations: 16 kB / 447.9 MB, free: 5.824 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.0002056/0.3177, allocations: 157.8 kB / 448 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.3178, allocations: 35.77 kB / 448.1 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.32, allocations: 0.7162 MB / 448.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3201, allocations: 4 kB / 448.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3201, allocations: 0 / 448.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3201, allocations: 7.984 kB / 448.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.3206, allocations: 324.9 kB / 449.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3206, allocations: 0 / 449.1 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.3209, allocations: 71.83 kB / 449.2 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.3221, allocations: 313.4 kB / 449.5 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.755e-05/0.3222, allocations: 15.98 kB / 449.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.3236, allocations: 1.362 MB / 450.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3236, allocations: 0 / 450.9 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.3263, allocations: 1.012 MB / 451.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.3264, allocations: 39.73 kB / 451.9 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.3265, allocations: 7.938 kB / 451.9 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.3269, allocations: 44.02 kB / 452 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.327, allocations: 31.72 kB / 452 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/0.327, allocations: 16 kB / 452 MB, free: 1.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002649/0.3273, allocations: 191.1 kB / 452.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3273, allocations: 0 / 452.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004498/0.3277, allocations: 111.8 kB / 452.3 MB, free: 1.254 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.0001779/0.3279, allocations: 107.2 kB / 452.4 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.3293, allocations: 459.7 kB / 452.9 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3293, allocations: 8.062 kB / 452.9 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006623/0.3299, allocations: 232.1 kB / 453.1 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.3303, allocations: 43.33 kB / 453.2 MB, free: 424 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.3325, allocations: 0.8904 MB / 454 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.3327, allocations: 194.9 kB / 454.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.3329, allocations: 34.97 kB / 454.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.594e-05/0.333, allocations: 27.36 kB / 454.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of SimCode: time 1.072e-06/0.333, allocations: 0 / 454.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of Templates: time 0.01271/0.3457, allocations: 5.445 MB / 459.7 MB, free: 9.84 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: 4.913612017408013]