Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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.001619/0.001619, allocations: 78.8 kB / 19.76 MB, free: 1.875 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.002461/0.002461, allocations: 164.8 kB / 23.01 MB, free: 4.602 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.521/1.521, allocations: 158.6 MB / 184.8 MB, free: 6.199 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.06474/0.06474, allocations: 10.65 MB / 247.7 MB, free: 8.473 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_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_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.002317/0.002317, allocations: 79 kB / 369 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1349, allocations: 52.88 MB / 421.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002401/0.1373, allocations: 0.6825 MB / 422.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003109/0.1376, allocations: 59.8 kB / 422.6 MB, free: 7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.1377, allocations: 0 / 422.6 MB, free: 7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.1377, allocations: 3.938 kB / 422.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.326e-05/0.1378, allocations: 7.984 kB / 422.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.138, allocations: 23.88 kB / 422.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1381, allocations: 19.98 kB / 422.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1383, allocations: 11.98 kB / 422.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.106e-05/0.1383, allocations: 11.88 kB / 422.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.1384, allocations: 11.98 kB / 422.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.1384, allocations: 4 kB / 422.7 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.1384, allocations: 4 kB / 422.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.1384, allocations: 15.91 kB / 422.7 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.838e-05/0.1385, allocations: 8 kB / 422.7 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.632e-05/0.1386, allocations: 19.86 kB / 422.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.1386, allocations: 3.984 kB / 422.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1386, allocations: 0 / 422.8 MB, free: 6.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1386, allocations: 0 / 422.8 MB, free: 6.855 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.0005094/0.1391, allocations: 254.4 kB / 423 MB, free: 6.574 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1391, allocations: 12.03 kB / 423 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1392, allocations: 4.938 kB / 423 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1393, allocations: 114.5 kB / 423.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1394, allocations: 384 / 423.1 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1394, allocations: 4.375 kB / 423.2 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.1396, allocations: 98.45 kB / 423.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1396, allocations: 192 / 423.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.1396, allocations: 7.938 kB / 423.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.1396, allocations: 0 / 423.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.1398, allocations: 43.95 kB / 423.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1402, allocations: 213.4 kB / 423.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.1404, allocations: 65.19 kB / 423.6 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1405, allocations: 29.75 kB / 423.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.1406, allocations: 7.875 kB / 423.6 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.263e-05/0.1406, allocations: 38.56 kB / 423.6 MB, free: 5.836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.1406, allocations: 4 kB / 423.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004099/0.141, allocations: 93.53 kB / 423.7 MB, free: 5.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.264e-05/0.1411, allocations: 106.8 kB / 423.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.86e-05/0.1412, allocations: 93.86 kB / 423.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1412, allocations: 29.7 kB / 424 MB, free: 5.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.1413, allocations: 80.14 kB / 424 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1413, allocations: 16.17 kB / 424.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.1414, allocations: 21.72 kB / 424.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.1415, allocations: 310.8 kB / 424.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1416, allocations: 24.84 kB / 424.4 MB, free: 5.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.1418, allocations: 64.25 kB / 424.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.1419, allocations: 49.66 kB / 424.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1419, allocations: 4 kB / 424.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002136/0.1422, allocations: 77.53 kB / 424.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1422, allocations: 4 kB / 424.6 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1422, allocations: 3.938 kB / 424.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1422, allocations: 288 / 424.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.1423, allocations: 11.98 kB / 424.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1423, allocations: 0 / 424.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.967e-05/0.1424, allocations: 16.02 kB / 424.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-06/0.1424, allocations: 0 / 424.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.696e-05/0.1424, allocations: 92.12 kB / 424.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.524e-05/0.1425, allocations: 60.25 kB / 424.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.403e-05/0.1426, allocations: 25.72 kB / 424.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.1426, allocations: 0 / 424.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.000125/0.1427, allocations: 53.66 kB / 424.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.1427, allocations: 7.938 kB / 424.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-06/0.1427, allocations: 0 / 424.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.199e-06/0.1427, allocations: 7.984 kB / 424.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.803e-05/0.1428, allocations: 8 kB / 424.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.1428, allocations: 0 / 424.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.1428, allocations: 11.88 kB / 424.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1428, allocations: 7.938 kB / 424.9 MB, free: 4.449 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.0001033/0.1429, allocations: 180.3 kB / 425.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.143, allocations: 11.98 kB / 425.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.143, allocations: 15.27 kB / 425.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.143, allocations: 0 / 425.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.143, allocations: 0 / 425.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.143, allocations: 0 / 425.1 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.1432, allocations: 109.3 kB / 425.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1432, allocations: 0 / 425.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.997e-05/0.1432, allocations: 8 kB / 425.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1432, allocations: 3.938 kB / 425.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1432, allocations: 0 / 425.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1432, allocations: 0 / 425.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1432, allocations: 4 kB / 425.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.1435, allocations: 184.2 kB / 425.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.1435, allocations: 3.938 kB / 425.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.1435, allocations: 0 / 425.4 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.962e-05/0.1436, allocations: 8 kB / 425.4 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.1436, allocations: 7.984 kB / 425.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.1436, allocations: 4 kB / 425.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.351e-05/0.1437, allocations: 75.28 kB / 425.5 MB, free: 3.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1437, allocations: 4 kB / 425.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.144, allocations: 8 kB / 425.5 MB, free: 3.777 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.0001002/0.1441, allocations: 103.2 kB / 425.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.1443, allocations: 51.89 kB / 425.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1443, allocations: 0 / 425.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.1444, allocations: 28.23 kB / 425.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.1447, allocations: 2.344 kB / 425.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.1451, allocations: 133.5 kB / 425.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.517e-05/0.1451, allocations: 63.34 kB / 425.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.1452, allocations: 4.125 kB / 425.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.1452, allocations: 12.5 kB / 425.9 MB, free: 3.328 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1452, allocations: 3.938 kB / 425.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of Templates: time 0.003091/0.1483, allocations: 0.6833 MB / 426.6 MB, free: 2.648 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_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_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.907161022070795]