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.001684/0.001684, allocations: 79.66 kB / 20.52 MB, free: 1.281 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.002133/0.002133, allocations: 165 kB / 23.78 MB, free: 4.453 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.453/1.453, allocations: 158.6 MB / 185.5 MB, free: 6.219 MB / 174.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.06654/0.06654, allocations: 10.65 MB / 248.4 MB, free: 8.469 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.002338/0.002338, allocations: 75.89 kB / 369.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1216, allocations: 52.88 MB / 422.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002258/0.1238, allocations: 0.6903 MB / 423.3 MB, free: 7.035 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002508/0.1241, allocations: 55.81 kB / 423.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.1241, allocations: 0 / 423.4 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.289e-05/0.1241, allocations: 7.922 kB / 423.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.073e-05/0.1242, allocations: 0 / 423.4 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.1244, allocations: 23.92 kB / 423.4 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1245, allocations: 27.92 kB / 423.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1246, allocations: 0 / 423.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.1247, allocations: 15.92 kB / 423.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.159e-05/0.1247, allocations: 15.97 kB / 423.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.1248, allocations: 8 kB / 423.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.517e-05/0.1248, allocations: 7.938 kB / 423.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.1248, allocations: 3.938 kB / 423.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.1248, allocations: 4 kB / 423.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000106/0.1249, allocations: 27.84 kB / 423.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.1249, allocations: 4 kB / 423.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1249, allocations: 0 / 423.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.125, allocations: 0 / 423.5 MB, free: 6.836 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004892/0.1254, allocations: 254.4 kB / 423.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1255, allocations: 8.031 kB / 423.8 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1255, allocations: 12.92 kB / 423.8 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.1257, allocations: 106.5 kB / 423.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.1257, allocations: 384 / 423.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1257, allocations: 384 / 423.9 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.126, allocations: 106.4 kB / 424 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.126, allocations: 192 / 424 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.599e-05/0.126, allocations: 7.938 kB / 424 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.126, allocations: 0 / 424 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.1262, allocations: 35.97 kB / 424.1 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1267, allocations: 217.4 kB / 424.3 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.1269, allocations: 69.28 kB / 424.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.127, allocations: 33.64 kB / 424.4 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.127, allocations: 3.938 kB / 424.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1271, allocations: 38.5 kB / 424.4 MB, free: 5.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.1271, allocations: 4 kB / 424.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004131/0.1275, allocations: 93.53 kB / 424.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.1276, allocations: 102.8 kB / 424.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.686e-05/0.1276, allocations: 101.8 kB / 424.7 MB, free: 5.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.1277, allocations: 29.7 kB / 424.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.1277, allocations: 80.14 kB / 424.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.1277, allocations: 8.203 kB / 424.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1278, allocations: 17.72 kB / 424.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1279, allocations: 314.8 kB / 425.1 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.49e-05/0.128, allocations: 24.83 kB / 425.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1282, allocations: 64.45 kB / 425.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.1283, allocations: 45.66 kB / 425.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1283, allocations: 4 kB / 425.3 MB, free: 4.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002192/0.1286, allocations: 77.69 kB / 425.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1286, allocations: 7.938 kB / 425.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.1286, allocations: 7.984 kB / 425.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.1286, allocations: 0 / 425.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1287, allocations: 15.92 kB / 425.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1287, allocations: 0 / 425.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.1288, allocations: 16 kB / 425.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1288, allocations: 4 kB / 425.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.05e-05/0.1289, allocations: 88.14 kB / 425.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.182e-05/0.1289, allocations: 52.27 kB / 425.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.436e-05/0.129, allocations: 25.7 kB / 425.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.91e-07/0.129, allocations: 0 / 425.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000143/0.1292, allocations: 57.66 kB / 425.6 MB, free: 4.473 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1292, allocations: 11.94 kB / 425.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-06/0.1292, allocations: 0 / 425.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-06/0.1292, allocations: 0 / 425.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.703e-05/0.1292, allocations: 4 kB / 425.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.1292, allocations: 4 kB / 425.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.1293, allocations: 7.922 kB / 425.7 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-06/0.1293, allocations: 4 kB / 425.7 MB, free: 4.441 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.0001117/0.1294, allocations: 184.2 kB / 425.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.1294, allocations: 15.94 kB / 425.9 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.1294, allocations: 7.266 kB / 425.9 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.1294, allocations: 4 kB / 425.9 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1294, allocations: 4 kB / 425.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1295, allocations: 0 / 425.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.1296, allocations: 105.3 kB / 426 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1296, allocations: 0 / 426 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.756e-05/0.1297, allocations: 11.98 kB / 426 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1297, allocations: 3.938 kB / 426 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1297, allocations: 4 kB / 426 MB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1297, allocations: 4 kB / 426 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1297, allocations: 0 / 426 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.1305, allocations: 0.9696 MB / 427 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.057e-06/0.1305, allocations: 0 / 427 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1305, allocations: 0 / 427 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.792e-05/0.1306, allocations: 11.98 kB / 427 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.1306, allocations: 3.938 kB / 427 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.1306, allocations: 12 kB / 427 MB, free: 3.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.81e-05/0.1307, allocations: 79.27 kB / 427.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1307, allocations: 0 / 427.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005175/0.1312, allocations: 8 kB / 427.1 MB, free: 2.918 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.0001187/0.1313, allocations: 95.19 kB / 427.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002786/0.1316, allocations: 55.89 kB / 427.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1316, allocations: 4.25 kB / 427.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.1317, allocations: 27.92 kB / 427.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1319, allocations: 2.344 kB / 427.3 MB, free: 2.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.1324, allocations: 240.3 kB / 427.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.839e-05/0.1325, allocations: 59.34 kB / 427.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.704e-05/0.1326, allocations: 8.125 kB / 427.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.1326, allocations: 8.5 kB / 427.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1326, allocations: 0 / 427.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of Templates: time 0.003697/0.1363, allocations: 0.695 MB / 428.3 MB, free: 1.668 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 -s ida -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/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.637598379980773]