Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) 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(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=160,variableFilter="deadBand.smoothed|deadBand.u|deadBand.uMax|deadBand.uMin|deadBand.y|deadBandAnalyticSolution.y|inputSignal.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07472/0.07472, allocations: 16.78 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 59.89 kB / 427.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1365, allocations: 53.55 MB / 480.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001933/0.1385, allocations: 0.6737 MB / 481.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002391/0.1387, allocations: 64.08 kB / 481.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.517e-05/0.1388, allocations: 8 kB / 481.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.1388, allocations: 0 / 481.5 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.1389, allocations: 7.922 kB / 481.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000162/0.1391, allocations: 19.98 kB / 481.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.485e-05/0.1392, allocations: 27.86 kB / 481.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1393, allocations: 4 kB / 481.6 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.456e-05/0.1394, allocations: 15.97 kB / 481.6 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.1394, allocations: 15.92 kB / 481.6 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1395, allocations: 4 kB / 481.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-06/0.1395, allocations: 4 kB / 481.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.1395, allocations: 4 kB / 481.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.1395, allocations: 11.92 kB / 481.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.353e-05/0.1396, allocations: 19.92 kB / 481.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1396, allocations: 0 / 481.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1396, allocations: 0 / 481.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1396, allocations: 0 / 481.7 MB, free: 4.121 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.0004467/0.1401, allocations: 339.5 kB / 482 MB, free: 3.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.1401, allocations: 8.031 kB / 482 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.1402, allocations: 8.844 kB / 482 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.1404, allocations: 172.3 kB / 482.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1404, allocations: 384 / 482.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.1404, allocations: 4.375 kB / 482.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1406, allocations: 68.81 kB / 482.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.1406, allocations: 4.188 kB / 482.3 MB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1407, allocations: 3.938 kB / 482.3 MB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1407, allocations: 4 kB / 482.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1408, allocations: 43.88 kB / 482.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.1412, allocations: 265.8 kB / 482.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.1414, allocations: 73.12 kB / 482.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.1415, allocations: 37.69 kB / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1415, allocations: 0 / 482.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1415, allocations: 34.56 kB / 482.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1415, allocations: 7.938 kB / 482.7 MB, free: 2.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003489/0.1419, allocations: 93.58 kB / 482.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.142, allocations: 102.8 kB / 482.9 MB, free: 2.656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.142, allocations: 93.86 kB / 483 MB, free: 2.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1421, allocations: 29.95 kB / 483 MB, free: 2.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.1421, allocations: 88.14 kB / 483.1 MB, free: 2.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1421, allocations: 11.8 kB / 483.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.1422, allocations: 17.72 kB / 483.1 MB, free: 2.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1423, allocations: 310.8 kB / 483.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.1424, allocations: 24.84 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-05/0.1425, allocations: 42.48 kB / 483.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1426, allocations: 45.69 kB / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.1426, allocations: 0 / 483.6 MB, free: 1.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001955/0.1428, allocations: 81.56 kB / 483.6 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1429, allocations: 11.94 kB / 483.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1429, allocations: 0 / 483.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1429, allocations: 0 / 483.7 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.143, allocations: 11.98 kB / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.143, allocations: 0 / 483.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.143, allocations: 7.938 kB / 483.7 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1431, allocations: 8 kB / 483.7 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.699e-05/0.1431, allocations: 92.19 kB / 483.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.74e-05/0.1432, allocations: 30.56 kB / 483.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.272e-05/0.1433, allocations: 25.66 kB / 483.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.1433, allocations: 3.984 kB / 483.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001179/0.1434, allocations: 57.69 kB / 483.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.1434, allocations: 11.98 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.1434, allocations: 0 / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-06/0.1434, allocations: 0 / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.1435, allocations: 7.938 kB / 483.9 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.1435, allocations: 4 kB / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.768e-05/0.1435, allocations: 4 kB / 483.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.1435, allocations: 4 kB / 483.9 MB, free: 1.566 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 8.317e-05/0.1436, allocations: 184.2 kB / 484.1 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/0.1437, allocations: 11.94 kB / 484.1 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.37e-05/0.1437, allocations: 7.125 kB / 484.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1437, allocations: 3.938 kB / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1437, allocations: 0 / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1437, allocations: 4 kB / 484.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.1439, allocations: 161.6 kB / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1439, allocations: 0 / 484.3 MB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.852e-05/0.1439, allocations: 8 kB / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.144, allocations: 0 / 484.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.144, allocations: 4 kB / 484.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.144, allocations: 7.984 kB / 484.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.144, allocations: 0 / 484.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.1442, allocations: 176.6 kB / 484.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.956e-05/0.1443, allocations: 77.11 kB / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.1443, allocations: 0 / 484.5 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.272e-05/0.1444, allocations: 19.98 kB / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.1444, allocations: 48 / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1444, allocations: 7.984 kB / 484.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.505e-05/0.1445, allocations: 75.28 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1445, allocations: 0 / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1447, allocations: 12 kB / 484.7 MB, free: 0.7266 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 9.537e-05/0.1448, allocations: 99.23 kB / 484.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.1451, allocations: 63.83 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1451, allocations: 0 / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.177e-05/0.1452, allocations: 19.92 kB / 484.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.1454, allocations: 11.94 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.1458, allocations: 147.8 kB / 485 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.146, allocations: 0.6768 MB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1461, allocations: 15.44 kB / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1461, allocations: 0 / 485.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of Templates: time 0.001872/0.148, allocations: 0.645 MB / 486.3 MB, free: 14.98 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) diffSimulationResults("PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestDeadBand.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches