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.001375/0.001375, allocations: 115.1 kB / 18.46 MB, free: 4.543 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.001475/0.001475, allocations: 215.2 kB / 21.42 MB, free: 1.582 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.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.001774/0.001774, allocations: 51.88 kB / 374.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09912/0.1009, allocations: 53.32 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004663/0.1056, allocations: 3.182 MB / 430.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1073, allocations: 0.8547 MB / 431.5 MB, free: 208 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.1074, allocations: 4 kB / 431.5 MB, free: 204 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.1076, allocations: 59.31 kB / 431.6 MB, free: 144 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002122/0.1078, allocations: 114.9 kB / 431.7 MB, free: 28 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1999/0.3077, allocations: 152.1 kB / 431.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008627/0.3086, allocations: 0.5541 MB / 432.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.3089, allocations: 117.2 kB / 432.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.3095, allocations: 239.9 kB / 432.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000435/0.3099, allocations: 252.7 kB / 433 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.31, allocations: 54.31 kB / 433.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.3102, allocations: 55.41 kB / 433.1 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.039e-05/0.3102, allocations: 114.8 kB / 433.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.3105, allocations: 249.8 kB / 433.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005787/0.311, allocations: 0.556 MB / 434 MB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.311, allocations: 1.156 kB / 434 MB, free: 7.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.311, allocations: 0 / 434 MB, free: 7.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.3111, allocations: 0 / 434 MB, free: 7.965 MB / 350.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.00153/0.3126, allocations: 0.8055 MB / 434.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3126, allocations: 10.22 kB / 434.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.3129, allocations: 66.14 kB / 434.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.3133, allocations: 320.8 kB / 435.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.3133, allocations: 29.78 kB / 435.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.3134, allocations: 38.12 kB / 435.3 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.3144, allocations: 0.4961 MB / 435.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.3144, allocations: 5.094 kB / 435.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.3145, allocations: 18.66 kB / 435.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3145, allocations: 10.34 kB / 435.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.3158, allocations: 0.5046 MB / 436.3 MB, free: 7.102 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.002377/0.3182, allocations: 1.663 MB / 438 MB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.3192, allocations: 398.5 kB / 438.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.3197, allocations: 219.5 kB / 438.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.3198, allocations: 10.36 kB / 438.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.3198, allocations: 42.8 kB / 438.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.3198, allocations: 0 / 438.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005021/0.3248, allocations: 1.356 MB / 440 MB, free: 5.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3249, allocations: 159.5 kB / 440.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.3252, allocations: 279.6 kB / 440.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3253, allocations: 31.89 kB / 440.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3254, allocations: 217.8 kB / 440.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.96e-05/0.3255, allocations: 141.8 kB / 440.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3256, allocations: 76.06 kB / 440.9 MB, free: 4.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.173e-05/0.3257, allocations: 344.5 kB / 441.2 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/0.3262, allocations: 183.2 kB / 441.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005313/0.3267, allocations: 282.6 kB / 441.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009551/0.3277, allocations: 427.2 kB / 442.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3277, allocations: 0.5312 kB / 442.1 MB, free: 4.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001885/0.3296, allocations: 0.6765 MB / 442.8 MB, free: 3.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3296, allocations: 10.86 kB / 442.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.3296, allocations: 1.188 kB / 442.8 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.3309, allocations: 318.6 kB / 443.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003512/0.3313, allocations: 80.03 kB / 443.2 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.3323, allocations: 1.353 MB / 444.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.3329, allocations: 77.42 kB / 444.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.3329, allocations: 14.03 kB / 444.6 MB, free: 2.527 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.0001922/0.3331, allocations: 162.7 kB / 444.8 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.3332, allocations: 37.38 kB / 444.8 MB, free: 2.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.3354, allocations: 0.7171 MB / 445.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.3354, allocations: 5.578 kB / 445.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3354, allocations: 1.922 kB / 445.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3354, allocations: 1.453 kB / 445.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.336, allocations: 472.5 kB / 446 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.336, allocations: 1.312 kB / 446 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.3363, allocations: 63.55 kB / 446 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001271/0.3376, allocations: 319.6 kB / 446.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.3376, allocations: 9.281 kB / 446.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.3386, allocations: 1.361 MB / 447.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3386, allocations: 0 / 447.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/0.3412, allocations: 1.01 MB / 448.7 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.3413, allocations: 117.2 kB / 448.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.3413, allocations: 7.375 kB / 448.9 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.3417, allocations: 41.27 kB / 448.9 MB, free: 0 / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3418, allocations: 33.17 kB / 448.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.3419, allocations: 13.58 kB / 448.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.3422, allocations: 196.2 kB / 449.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3422, allocations: 192 / 449.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004696/0.3426, allocations: 113.4 kB / 449.3 MB, free: 15.85 MB / 366.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.0002044/0.3428, allocations: 115 kB / 449.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.3443, allocations: 463.5 kB / 449.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3443, allocations: 4.062 kB / 449.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006628/0.345, allocations: 249 kB / 450.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.3454, allocations: 48.72 kB / 450.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.3472, allocations: 0.9051 MB / 451 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.3476, allocations: 0.7955 MB / 451.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.71e-05/0.3477, allocations: 25.67 kB / 451.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3477, allocations: 7.938 kB / 451.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of Templates: time 0.01112/0.3588, allocations: 7.223 MB / 459.1 MB, free: 11.39 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/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: 7.700856183015276]