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.001184/0.001184, allocations: 76.45 kB / 19.94 MB, free: 4.629 MB / 18.57 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.00143/0.00143, allocations: 173.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.9014/0.9014, allocations: 158.6 MB / 185 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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.03715/0.03715, allocations: 10.64 MB / 247.9 MB, free: 4.73 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 369.3 MB, free: 5.914 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.094e-05, allocations: 2.281 kB / 369.3 MB, free: 5.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001548/0.001569, allocations: 0.6942 MB / 370 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002266/0.001795, allocations: 63.73 kB / 370.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.001829, allocations: 0 / 370.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.784e-05/0.001857, allocations: 3.938 kB / 370.1 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.935e-05/0.001937, allocations: 3.938 kB / 370.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001526/0.002089, allocations: 19.92 kB / 370.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.002199, allocations: 27.92 kB / 370.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.00229, allocations: 0 / 370.1 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.002335, allocations: 15.98 kB / 370.2 MB, free: 5.082 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.002391, allocations: 11.98 kB / 370.2 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.002414, allocations: 0 / 370.2 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.306e-06/0.002423, allocations: 8 kB / 370.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.002443, allocations: 15.91 kB / 370.2 MB, free: 5.047 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.991e-05/0.002463, allocations: 4 kB / 370.2 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.244e-05/0.002545, allocations: 19.97 kB / 370.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002547, allocations: 0 / 370.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.002548, allocations: 0 / 370.2 MB, free: 5.023 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.002552, allocations: 0 / 370.2 MB, free: 5.023 MB / 298.7 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.0003694/0.002921, allocations: 250.4 kB / 370.5 MB, free: 4.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.002963, allocations: 12.03 kB / 370.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.002998, allocations: 8.891 kB / 370.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.003144, allocations: 117.7 kB / 370.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.003154, allocations: 384 / 370.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-06/0.003164, allocations: 4.312 kB / 370.6 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.003357, allocations: 106.5 kB / 370.7 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.003364, allocations: 192 / 370.7 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.003375, allocations: 384 / 370.7 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.003379, allocations: 384 / 370.7 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.003502, allocations: 39.89 kB / 370.7 MB, free: 4.418 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.003801, allocations: 213.4 kB / 371 MB, free: 4.176 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/0.003936, allocations: 73.22 kB / 371 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.004008, allocations: 33.75 kB / 371.1 MB, free: 4.047 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.004027, allocations: 3.938 kB / 371.1 MB, free: 4.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.004052, allocations: 34.56 kB / 371.1 MB, free: 4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.004054, allocations: 4 kB / 371.1 MB, free: 3.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002942/0.004348, allocations: 97.47 kB / 371.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.0044, allocations: 106.8 kB / 371.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.004467, allocations: 101.9 kB / 371.4 MB, free: 3.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.00448, allocations: 25.7 kB / 371.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.004517, allocations: 80.14 kB / 371.5 MB, free: 3.543 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.004535, allocations: 12.17 kB / 371.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/0.004565, allocations: 21.72 kB / 371.5 MB, free: 3.504 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.004652, allocations: 314.8 kB / 371.8 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.157e-05/0.004714, allocations: 20.84 kB / 371.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.886e-05/0.004793, allocations: 68.25 kB / 371.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.004906, allocations: 45.62 kB / 372 MB, free: 3.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.004908, allocations: 8.031 kB / 372 MB, free: 3.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001596/0.005068, allocations: 73.66 kB / 372.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.005079, allocations: 4 kB / 372.1 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.005085, allocations: 7.875 kB / 372.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.005097, allocations: 0 / 372.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.005168, allocations: 11.98 kB / 372.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.005172, allocations: 0 / 372.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.662e-05/0.005209, allocations: 12.06 kB / 372.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.005214, allocations: 0 / 372.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.845e-05/0.005273, allocations: 96.12 kB / 372.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.632e-05/0.005319, allocations: 52.27 kB / 372.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.436e-05/0.005374, allocations: 29.66 kB / 372.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.21e-07/0.005374, allocations: 0 / 372.3 MB, free: 2.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 9.288e-05/0.005467, allocations: 61.61 kB / 372.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.485e-06/0.005474, allocations: 7.984 kB / 372.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.21e-07/0.005475, allocations: 0 / 372.3 MB, free: 2.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.017e-06/0.005479, allocations: 7.938 kB / 372.3 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.303e-05/0.005502, allocations: 4 kB / 372.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-06/0.005503, allocations: 0 / 372.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.578e-05/0.005529, allocations: 4 kB / 372.3 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-06/0.005531, allocations: 3.938 kB / 372.4 MB, free: 2.613 MB / 298.7 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 7.616e-05/0.005607, allocations: 190.2 kB / 372.5 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.005627, allocations: 4.062 kB / 372.5 MB, free: 2.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.00565, allocations: 15.2 kB / 372.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.005652, allocations: 0 / 372.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.005656, allocations: 0 / 372.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.005658, allocations: 0 / 372.6 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.005773, allocations: 113.2 kB / 372.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.005774, allocations: 0 / 372.7 MB, free: 2.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.00581, allocations: 8 kB / 372.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.005812, allocations: 0 / 372.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.005818, allocations: 0 / 372.7 MB, free: 2.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.005821, allocations: 11.86 kB / 372.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.005824, allocations: 8 kB / 372.7 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.006311, allocations: 0.9657 MB / 373.7 MB, free: 1.207 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.00632, allocations: 4.422 kB / 373.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.006331, allocations: 0 / 373.7 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.166e-05/0.006392, allocations: 7.984 kB / 373.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.00643, allocations: 8 kB / 373.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.006432, allocations: 0 / 373.7 MB, free: 1.188 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.147e-05/0.006464, allocations: 91.2 kB / 373.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006464, allocations: 0 / 373.8 MB, free: 1.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005188/0.006983, allocations: 15.94 kB / 373.8 MB, free: 1.082 MB / 298.7 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 8.183e-05/0.007065, allocations: 95.23 kB / 373.9 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.00727, allocations: 51.89 kB / 373.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007271, allocations: 256 / 373.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.053e-05/0.007332, allocations: 27.92 kB / 374 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.007554, allocations: 11.23 kB / 374 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003718/0.007926, allocations: 224.5 kB / 374.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.007982, allocations: 71.14 kB / 374.3 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.459e-05/0.008027, allocations: 4.125 kB / 374.3 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.008057, allocations: 12.5 kB / 374.3 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.008058, allocations: 3.938 kB / 374.3 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of Templates: time 0.002474/0.01053, allocations: 0.6938 MB / 375 MB, free: 15.84 MB / 314.7 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/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: 2.8668080251663923]