Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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.001403/0.001403, allocations: 104.3 kB / 19.71 MB, free: 1.914 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.001638/0.001638, allocations: 212.6 kB / 23 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06894/0.06894, allocations: 14.4 MB / 300.5 MB, free: 7.234 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=80,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 79.88 kB / 421.9 MB, free: 38.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0975/0.09967, allocations: 52.9 MB / 474.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00209/0.1018, allocations: 0.6779 MB / 475.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001938/0.102, allocations: 63.8 kB / 475.5 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.102, allocations: 3.938 kB / 475.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.102, allocations: 0 / 475.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.559e-05/0.102, allocations: 7.938 kB / 475.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.056e-05/0.1021, allocations: 19.98 kB / 475.5 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.1022, allocations: 27.92 kB / 475.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.534e-05/0.1023, allocations: 3.984 kB / 475.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.1023, allocations: 15.92 kB / 475.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.947e-05/0.1024, allocations: 15.92 kB / 475.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1024, allocations: 4 kB / 475.6 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.1024, allocations: 4 kB / 475.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.1024, allocations: 7.984 kB / 475.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.1024, allocations: 0 / 475.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 8.54e-05/0.1025, allocations: 27.8 kB / 475.6 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1025, allocations: 8 kB / 475.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1025, allocations: 0 / 475.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1025, allocations: 0 / 475.6 MB, free: 0.7109 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004077/0.1029, allocations: 258.3 kB / 475.9 MB, free: 436 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.103, allocations: 8.031 kB / 475.9 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.103, allocations: 4.938 kB / 475.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.1032, allocations: 118.5 kB / 476 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1032, allocations: 384 / 476 MB, free: 280 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.1032, allocations: 4.375 kB / 476 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.1034, allocations: 98.52 kB / 476.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.1034, allocations: 192 / 476.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1035, allocations: 11.88 kB / 476.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1035, allocations: 0 / 476.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.1036, allocations: 39.89 kB / 476.2 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003859/0.104, allocations: 213.5 kB / 476.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.1042, allocations: 69.06 kB / 476.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1043, allocations: 33.83 kB / 476.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1044, allocations: 7.922 kB / 476.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1044, allocations: 30.56 kB / 476.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.183e-06/0.1044, allocations: 4 kB / 476.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003911/0.1048, allocations: 97.72 kB / 476.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.1049, allocations: 106.8 kB / 476.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.1049, allocations: 93.86 kB / 476.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.105, allocations: 29.7 kB / 476.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.105, allocations: 84.14 kB / 476.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.105, allocations: 7.891 kB / 476.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.1051, allocations: 17.7 kB / 477 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1052, allocations: 314.8 kB / 477.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.801e-05/0.1053, allocations: 20.84 kB / 477.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.1054, allocations: 72.25 kB / 477.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.1056, allocations: 49.69 kB / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1056, allocations: 0 / 477.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002454/0.1058, allocations: 81.59 kB / 477.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1059, allocations: 4 kB / 477.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.1059, allocations: 4 kB / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1059, allocations: 0 / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.106, allocations: 8.281 kB / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.106, allocations: 3.984 kB / 477.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.106, allocations: 7.953 kB / 477.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.106, allocations: 4 kB / 477.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.281e-05/0.1061, allocations: 92.12 kB / 477.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.777e-05/0.1062, allocations: 56.23 kB / 477.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.834e-05/0.1063, allocations: 33.64 kB / 477.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.92e-07/0.1063, allocations: 0 / 477.7 MB, free: 14.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001287/0.1064, allocations: 49.69 kB / 477.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1064, allocations: 15.88 kB / 477.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.1064, allocations: 0 / 477.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-06/0.1064, allocations: 3.938 kB / 477.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.1065, allocations: 12.08 kB / 477.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.1065, allocations: 0 / 477.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.1065, allocations: 4 kB / 477.8 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.1065, allocations: 4 kB / 477.8 MB, free: 14.3 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.1066, allocations: 180.3 kB / 478 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1067, allocations: 7.938 kB / 478 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.1067, allocations: 11.25 kB / 478 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1067, allocations: 0 / 478 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1067, allocations: 0 / 478 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1067, allocations: 4 kB / 478 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.1068, allocations: 105.3 kB / 478.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1068, allocations: 7.984 kB / 478.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.297e-05/0.1069, allocations: 8 kB / 478.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1069, allocations: 3.938 kB / 478.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1069, allocations: 8 kB / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1069, allocations: 0 / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1069, allocations: 0 / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.1077, allocations: 0.9734 MB / 479.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.1077, allocations: 3.984 kB / 479.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.1077, allocations: 0 / 479.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.749e-05/0.1078, allocations: 8 kB / 479.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1078, allocations: 11.92 kB / 479.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1078, allocations: 4 kB / 479.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.385e-05/0.1079, allocations: 75.28 kB / 479.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1079, allocations: 0 / 479.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004978/0.1084, allocations: 8 kB / 479.2 MB, free: 12.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001057/0.1085, allocations: 103.2 kB / 479.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.1088, allocations: 51.89 kB / 479.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1088, allocations: 0 / 479.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.1089, allocations: 23.98 kB / 479.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.1091, allocations: 2.562 kB / 479.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.1095, allocations: 244.3 kB / 479.6 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.54e-05/0.1096, allocations: 59.3 kB / 479.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.777e-05/0.1096, allocations: 15.92 kB / 479.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.1097, allocations: 7.438 kB / 479.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1097, allocations: 0 / 479.7 MB, free: 12.22 MB / 350.1 MB Notification: Performance of Templates: time 0.002993/0.1126, allocations: 0.6865 MB / 480.4 MB, free: 11.54 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 50] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.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.968550041783601]