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.001435/0.001435, allocations: 96.34 kB / 19.7 MB, free: 1.801 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.001767/0.001767, allocations: 209.2 kB / 22.99 MB, free: 4.613 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.663/1.663, allocations: 207.7 MB / 233.8 MB, free: 9.793 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.07162/0.07162, allocations: 14.39 MB / 300.5 MB, free: 7.25 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.002304/0.002304, allocations: 79.88 kB / 421.9 MB, free: 38.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1104, allocations: 52.89 MB / 474.8 MB, free: 1.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00286/0.1132, allocations: 0.6934 MB / 475.4 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003633/0.1136, allocations: 59.8 kB / 475.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.1136, allocations: 0 / 475.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.1137, allocations: 0 / 475.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.1138, allocations: 7.922 kB / 475.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.114, allocations: 19.98 kB / 475.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1142, allocations: 31.86 kB / 475.6 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.1144, allocations: 4 kB / 475.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.1144, allocations: 8 kB / 475.6 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.854e-05/0.1145, allocations: 23.91 kB / 475.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1145, allocations: 0 / 475.6 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.1145, allocations: 4 kB / 475.6 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.1146, allocations: 7.984 kB / 475.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.175e-05/0.1146, allocations: 7.938 kB / 475.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.1147, allocations: 23.91 kB / 475.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.1147, allocations: 0 / 475.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1147, allocations: 0 / 475.6 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1148, allocations: 3.938 kB / 475.6 MB, free: 0.7188 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.0005968/0.1154, allocations: 254.4 kB / 475.9 MB, free: 448 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1154, allocations: 16.03 kB / 475.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.1154, allocations: 0.9375 kB / 475.9 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1156, allocations: 110.5 kB / 476 MB, free: 296 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.286e-06/0.1157, allocations: 8.312 kB / 476 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.1157, allocations: 384 / 476 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.1159, allocations: 98.52 kB / 476.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1159, allocations: 192 / 476.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1159, allocations: 3.938 kB / 476.1 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1159, allocations: 3.984 kB / 476.1 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.1161, allocations: 39.91 kB / 476.2 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004241/0.1165, allocations: 213.5 kB / 476.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1167, allocations: 69.17 kB / 476.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1168, allocations: 37.69 kB / 476.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1169, allocations: 7.938 kB / 476.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.1169, allocations: 38.56 kB / 476.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1169, allocations: 0 / 476.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004028/0.1173, allocations: 93.53 kB / 476.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.1174, allocations: 106.8 kB / 476.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1175, allocations: 97.84 kB / 476.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1175, allocations: 25.95 kB / 476.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.1176, allocations: 92.12 kB / 476.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.332e-05/0.1176, allocations: 11.89 kB / 476.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.1176, allocations: 13.72 kB / 477 MB, free: 15.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.1178, allocations: 314.8 kB / 477.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-05/0.1179, allocations: 24.78 kB / 477.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.118, allocations: 64.25 kB / 477.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1182, allocations: 49.72 kB / 477.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1182, allocations: 0 / 477.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002193/0.1184, allocations: 77.53 kB / 477.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.1184, allocations: 8 kB / 477.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1184, allocations: 0 / 477.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1184, allocations: 0 / 477.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.1185, allocations: 12.05 kB / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1185, allocations: 4 kB / 477.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.1186, allocations: 11.95 kB / 477.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1186, allocations: 4 kB / 477.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.373e-05/0.1187, allocations: 92.12 kB / 477.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.779e-05/0.1188, allocations: 56.2 kB / 477.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.424e-05/0.1189, allocations: 29.66 kB / 477.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.1189, allocations: 0 / 477.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001296/0.119, allocations: 61.64 kB / 477.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.119, allocations: 10.44 kB / 477.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.119, allocations: 0 / 477.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-06/0.119, allocations: 0 / 477.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.824e-05/0.1191, allocations: 8 kB / 477.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-06/0.1191, allocations: 0 / 477.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.1191, allocations: 8 kB / 477.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-06/0.1191, allocations: 0 / 477.8 MB, free: 14.32 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.0001439/0.1192, allocations: 188.3 kB / 478 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.1193, allocations: 3.938 kB / 478 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.1193, allocations: 11.27 kB / 478 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1193, allocations: 4 kB / 478 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1193, allocations: 0 / 478 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1193, allocations: 0 / 478 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.1195, allocations: 109.2 kB / 478.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1195, allocations: 0 / 478.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.1195, allocations: 8 kB / 478.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1195, allocations: 7.938 kB / 478.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1195, allocations: 7.984 kB / 478.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.1195, allocations: 3.938 kB / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1196, allocations: 0 / 478.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.1204, allocations: 0.9657 MB / 479.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.1204, allocations: 0 / 479.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1204, allocations: 4 kB / 479.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.1205, allocations: 7.984 kB / 479.1 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.1206, allocations: 11.94 kB / 479.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.1206, allocations: 4 kB / 479.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.094e-05/0.1206, allocations: 79.28 kB / 479.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1206, allocations: 0 / 479.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.1211, allocations: 11.98 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.0001261/0.1212, allocations: 91.25 kB / 479.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002933/0.1215, allocations: 60.02 kB / 479.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1215, allocations: 3.938 kB / 479.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.1216, allocations: 23.92 kB / 479.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.1219, allocations: 4 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.0005618/0.1224, allocations: 228.9 kB / 479.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.632e-05/0.1225, allocations: 59.59 kB / 479.7 MB, free: 12.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.671e-05/0.1226, allocations: 12 kB / 479.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.1226, allocations: 11.44 kB / 479.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1226, allocations: 0 / 479.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of Templates: time 0.00386/0.1265, allocations: 0.6862 MB / 480.4 MB, free: 11.55 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=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/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.867730557918549]