Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001574, allocations: 120.5 kB / 18.41 MB, free: 4.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 186.7 kB / 21.34 MB, free: 1.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 222.9 MB / 247 MB, free: 4.168 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 51.91 kB / 358.7 MB, free: 8.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09468, allocations: 49.44 MB / 408.1 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004436/0.09915, allocations: 3.128 MB / 411.2 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.1008, allocations: 0.8 MB / 412 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.1011, allocations: 8 kB / 412 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.1013, allocations: 59.38 kB / 412.1 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1016, allocations: 110.9 kB / 412.2 MB, free: 2.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.1021, allocations: 155.7 kB / 412.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000583/0.1027, allocations: 0.5463 MB / 412.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003036/0.103, allocations: 168.3 kB / 413.1 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003029/0.1033, allocations: 215.3 kB / 413.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.1036, allocations: 262.9 kB / 413.5 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.355e-05/0.1037, allocations: 52 kB / 413.6 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.1038, allocations: 52 kB / 413.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.104, allocations: 115.6 kB / 413.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.1042, allocations: 238.9 kB / 414 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.1048, allocations: 0.5487 MB / 414.5 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1049, allocations: 0 / 414.5 MB, free: 312 kB / 334.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1049, allocations: 0 / 414.5 MB, free: 312 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1049, allocations: 3.938 kB / 414.5 MB, free: 308 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.001693/0.1066, allocations: 0.8105 MB / 415.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.1066, allocations: 12.03 kB / 415.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.1068, allocations: 48.66 kB / 415.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005723/0.1074, allocations: 310.7 kB / 415.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.1074, allocations: 29.38 kB / 415.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.1075, allocations: 40.31 kB / 415.8 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.1087, allocations: 0.5009 MB / 416.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.1087, allocations: 0 / 416.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.1088, allocations: 20 kB / 416.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.1088, allocations: 12 kB / 416.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1102, allocations: 0.4957 MB / 416.8 MB, free: 13.92 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.002759/0.113, allocations: 1.663 MB / 418.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.1141, allocations: 419.7 kB / 418.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.1147, allocations: 257.2 kB / 419.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.1148, allocations: 4.328 kB / 419.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.1148, allocations: 42.89 kB / 419.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.573e-06/0.1148, allocations: 0 / 419.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.005025/0.1198, allocations: 1.369 MB / 420.6 MB, free: 9.965 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.12, allocations: 162.2 kB / 420.7 MB, free: 9.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.1203, allocations: 271 kB / 421 MB, free: 9.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.1204, allocations: 33.7 kB / 421 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.1206, allocations: 216.7 kB / 421.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.1207, allocations: 138.8 kB / 421.4 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1208, allocations: 78.08 kB / 421.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.121, allocations: 342.8 kB / 421.8 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.1215, allocations: 184.7 kB / 421.9 MB, free: 8.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.1222, allocations: 286.5 kB / 422.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.1232, allocations: 430.5 kB / 422.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1232, allocations: 0 / 422.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001925/0.1252, allocations: 0.6782 MB / 423.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1252, allocations: 4 kB / 423.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1252, allocations: 4 kB / 423.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.1266, allocations: 313.4 kB / 423.6 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.1269, allocations: 87.88 kB / 423.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.1283, allocations: 1.351 MB / 425.1 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004525/0.1288, allocations: 75.78 kB / 425.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.1288, allocations: 16 kB / 425.2 MB, free: 5.145 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.0001971/0.129, allocations: 154.5 kB / 425.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-05/0.1291, allocations: 35.77 kB / 425.4 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.1314, allocations: 0.7316 MB / 426.1 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1314, allocations: 8 kB / 426.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1314, allocations: 0 / 426.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1314, allocations: 0 / 426.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.132, allocations: 480.7 kB / 426.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.132, allocations: 0 / 426.6 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.1323, allocations: 67.89 kB / 426.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001225/0.1335, allocations: 309.4 kB / 426.9 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.1336, allocations: 12 kB / 426.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.1349, allocations: 1.362 MB / 428.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.135, allocations: 0 / 428.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/0.1377, allocations: 1.02 MB / 429.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.1378, allocations: 116.8 kB / 429.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.1378, allocations: 8 kB / 429.4 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.1382, allocations: 43.95 kB / 429.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.584e-05/0.1383, allocations: 27.95 kB / 429.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.793e-05/0.1383, allocations: 12.06 kB / 429.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000253/0.1386, allocations: 194 kB / 429.7 MB, free: 432 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1386, allocations: 0 / 429.7 MB, free: 432 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004149/0.139, allocations: 115.8 kB / 429.8 MB, free: 316 kB / 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.0001886/0.1392, allocations: 115.7 kB / 429.9 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.1865/0.3257, allocations: 472 kB / 430.4 MB, free: 23.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3258, allocations: 4.656 kB / 430.4 MB, free: 23.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005989/0.3264, allocations: 253.1 kB / 430.7 MB, free: 23.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3268, allocations: 45.11 kB / 430.7 MB, free: 23.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3283, allocations: 0.9001 MB / 431.6 MB, free: 23.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.3285, allocations: 0.7958 MB / 432.4 MB, free: 22.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.3286, allocations: 33.19 kB / 432.4 MB, free: 22.56 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3287, allocations: 0 / 432.4 MB, free: 22.56 MB / 350.1 MB Notification: Performance of Templates: time 0.01125/0.3399, allocations: 7.167 MB / 439.6 MB, free: 21.91 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/HeatingMOSInverter/HeatingMOSInverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.642414906062186]