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.001532/0.001532, allocations: 92.22 kB / 20.22 MB, free: 4.215 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.001708/0.001708, allocations: 157.7 kB / 23.53 MB, free: 0.9102 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 1.571/1.571, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 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.06674/0.06674, allocations: 10.66 MB / 248.3 MB, free: 4.523 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.553e-06/1.553e-06, allocations: 0 / 317.1 MB, free: 42.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.66e-05, allocations: 3.016 kB / 317.1 MB, free: 42.29 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.00152/0.001547, allocations: 0.6874 MB / 317.7 MB, free: 41.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.001788, allocations: 62.45 kB / 317.8 MB, free: 41.64 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.754e-05/0.001825, allocations: 0 / 317.8 MB, free: 41.64 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.768e-05/0.001853, allocations: 4.703 kB / 317.8 MB, free: 41.64 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.332e-05/0.001936, allocations: 13.14 kB / 317.8 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.002072, allocations: 11.61 kB / 317.8 MB, free: 41.62 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.367e-05/0.002166, allocations: 31.62 kB / 317.9 MB, free: 41.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.971e-05/0.002246, allocations: 9.453 kB / 317.9 MB, free: 41.58 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.726e-05/0.002293, allocations: 11.05 kB / 317.9 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.002348, allocations: 11.89 kB / 317.9 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.002366, allocations: 4 kB / 317.9 MB, free: 41.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-06/0.002374, allocations: 4 kB / 317.9 MB, free: 41.56 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.00239, allocations: 6.047 kB / 317.9 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.002417, allocations: 4.656 kB / 317.9 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.305e-05/0.00249, allocations: 24 kB / 317.9 MB, free: 41.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002492, allocations: 0 / 317.9 MB, free: 41.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.002493, allocations: 4 kB / 317.9 MB, free: 41.52 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.002496, allocations: 0 / 317.9 MB, free: 41.52 MB / 282.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.0003495/0.002846, allocations: 264.1 kB / 318.2 MB, free: 41.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.002878, allocations: 8.031 kB / 318.2 MB, free: 41.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.00292, allocations: 8.891 kB / 318.2 MB, free: 41.22 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.003026, allocations: 113.7 kB / 318.3 MB, free: 41.08 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.003036, allocations: 4.375 kB / 318.3 MB, free: 41.08 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.003048, allocations: 12.3 kB / 318.3 MB, free: 41.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.003228, allocations: 94.52 kB / 318.4 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.003237, allocations: 4.125 kB / 318.4 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.003249, allocations: 4.375 kB / 318.4 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.003253, allocations: 4.375 kB / 318.4 MB, free: 40.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.003412, allocations: 35.91 kB / 318.5 MB, free: 40.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.003698, allocations: 213.5 kB / 318.7 MB, free: 40.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.003858, allocations: 65.12 kB / 318.8 MB, free: 40.58 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.003946, allocations: 33.77 kB / 318.8 MB, free: 40.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.003969, allocations: 0 / 318.8 MB, free: 40.54 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.00399, allocations: 38.56 kB / 318.8 MB, free: 40.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.003991, allocations: 0 / 318.8 MB, free: 40.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003431/0.004334, allocations: 93.52 kB / 318.9 MB, free: 40.4 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.004364, allocations: 106.8 kB / 319 MB, free: 40.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.099e-05/0.004415, allocations: 106 kB / 319.1 MB, free: 40.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.004423, allocations: 29.7 kB / 319.2 MB, free: 40.12 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.004457, allocations: 84.09 kB / 319.2 MB, free: 40.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.004473, allocations: 7.953 kB / 319.2 MB, free: 40.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.004501, allocations: 17.72 kB / 319.3 MB, free: 40 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.004545, allocations: 314.8 kB / 319.6 MB, free: 39.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.00463, allocations: 24.84 kB / 319.6 MB, free: 39.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.29e-05/0.004713, allocations: 60.45 kB / 319.7 MB, free: 39.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.004858, allocations: 53.7 kB / 319.7 MB, free: 39.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004859, allocations: 0 / 319.7 MB, free: 39.53 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001828/0.005042, allocations: 73.61 kB / 319.8 MB, free: 39.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005054, allocations: 4 kB / 319.8 MB, free: 39.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.00506, allocations: 7.938 kB / 319.8 MB, free: 39.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.005079, allocations: 4.156 kB / 319.8 MB, free: 39.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.005166, allocations: 15.97 kB / 319.8 MB, free: 39.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.005171, allocations: 0 / 319.8 MB, free: 39.42 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.00524, allocations: 7.984 kB / 319.8 MB, free: 39.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.005248, allocations: 4 kB / 319.8 MB, free: 39.41 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.559e-05/0.005324, allocations: 84.14 kB / 319.9 MB, free: 39.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.826e-05/0.005402, allocations: 56.2 kB / 320 MB, free: 39.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001066/0.005509, allocations: 37.67 kB / 320 MB, free: 39.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-06/0.00551, allocations: 0 / 320 MB, free: 39.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001725/0.005682, allocations: 61.58 kB / 320.1 MB, free: 39.14 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.005692, allocations: 5.875 kB / 320.1 MB, free: 39.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.005695, allocations: 1.953 kB / 320.1 MB, free: 39.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-06/0.005698, allocations: 3.938 kB / 320.1 MB, free: 39.13 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.614e-05/0.005754, allocations: 8 kB / 320.1 MB, free: 39.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.843e-06/0.005756, allocations: 0 / 320.1 MB, free: 39.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.479e-05/0.005821, allocations: 12.05 kB / 320.1 MB, free: 39.11 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.005825, allocations: 0 / 320.1 MB, free: 39.11 MB / 282.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 6.062e-05/0.005885, allocations: 184.3 kB / 320.3 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.005924, allocations: 0 / 320.3 MB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.005954, allocations: 11.2 kB / 320.3 MB, free: 38.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.005958, allocations: 4 kB / 320.3 MB, free: 38.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.005963, allocations: 0 / 320.3 MB, free: 38.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.005967, allocations: 3.938 kB / 320.3 MB, free: 38.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.006134, allocations: 109.2 kB / 320.4 MB, free: 38.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.006136, allocations: 8 kB / 320.4 MB, free: 38.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.006245, allocations: 15.98 kB / 320.4 MB, free: 38.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.006248, allocations: 0 / 320.4 MB, free: 38.75 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.006257, allocations: 0 / 320.4 MB, free: 38.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.00626, allocations: 3.938 kB / 320.4 MB, free: 38.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.006261, allocations: 0 / 320.4 MB, free: 38.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.006802, allocations: 0.9696 MB / 321.4 MB, free: 37.71 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.124e-05/0.006813, allocations: 4 kB / 321.4 MB, free: 37.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.00683, allocations: 0 / 321.4 MB, free: 37.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.006959, allocations: 15.98 kB / 321.4 MB, free: 37.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.007011, allocations: 7.984 kB / 321.4 MB, free: 37.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.007015, allocations: 0 / 321.4 MB, free: 37.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.353e-05/0.007039, allocations: 79.28 kB / 321.5 MB, free: 37.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007039, allocations: 0 / 321.5 MB, free: 37.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008092/0.007848, allocations: 15.94 kB / 321.5 MB, free: 37.59 MB / 282.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 9.754e-05/0.007945, allocations: 95.19 kB / 321.6 MB, free: 37.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.008272, allocations: 55.95 kB / 321.7 MB, free: 37.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.008274, allocations: 0 / 321.7 MB, free: 37.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.008381, allocations: 23.86 kB / 321.7 MB, free: 37.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.008717, allocations: 11.98 kB / 321.7 MB, free: 37.4 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.009156, allocations: 227.7 kB / 321.9 MB, free: 37.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.025e-05/0.009196, allocations: 67.28 kB / 322 MB, free: 37.05 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.00925, allocations: 4 kB / 322 MB, free: 37.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.009293, allocations: 12.5 kB / 322 MB, free: 37.04 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.009293, allocations: 4 kB / 322 MB, free: 37.03 MB / 282.7 MB Notification: Performance of Templates: time 0.003789/0.01308, allocations: 0.7119 MB / 322.7 MB, free: 36.33 MB / 282.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=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.713666539057158]