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.00115/0.00115, allocations: 74.66 kB / 21.44 MB, free: 3.059 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.004486/0.004486, allocations: 165.8 kB / 24.84 MB, free: 8.703 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.8867/0.8867, allocations: 158.6 MB / 186.7 MB, free: 2.777 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.04079/0.04079, allocations: 10.65 MB / 249.8 MB, free: 4.293 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.223e-06/1.223e-06, allocations: 0 / 319 MB, free: 41.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.749e-06/1.097e-05, allocations: 2.312 kB / 319 MB, free: 41.71 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001122/0.001133, allocations: 0.7085 MB / 319.8 MB, free: 41.01 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.0013, allocations: 51.81 kB / 319.8 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.001329, allocations: 0 / 319.8 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.001348, allocations: 3.938 kB / 319.8 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.744e-05/0.001415, allocations: 0 / 319.8 MB, free: 40.96 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001086/0.001524, allocations: 27.91 kB / 319.8 MB, free: 40.93 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.897e-05/0.001593, allocations: 27.92 kB / 319.9 MB, free: 40.9 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.92e-05/0.001652, allocations: 7.984 kB / 319.9 MB, free: 40.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.001686, allocations: 15.94 kB / 319.9 MB, free: 40.88 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.947e-05/0.001726, allocations: 7.984 kB / 319.9 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.00174, allocations: 4 kB / 319.9 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.001e-06/0.001746, allocations: 0 / 319.9 MB, free: 40.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.001759, allocations: 7.984 kB / 319.9 MB, free: 40.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.001773, allocations: 11.38 kB / 319.9 MB, free: 40.85 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 5.393e-05/0.001827, allocations: 23.84 kB / 319.9 MB, free: 40.83 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.001829, allocations: 0 / 319.9 MB, free: 40.83 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.001829, allocations: 4 kB / 319.9 MB, free: 40.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.001833, allocations: 0 / 319.9 MB, free: 40.82 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.0002176/0.00205, allocations: 354.8 kB / 320.3 MB, free: 40.44 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.002078, allocations: 8.031 kB / 320.3 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.002101, allocations: 13.22 kB / 320.3 MB, free: 40.42 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.205e-05/0.002173, allocations: 116.6 kB / 320.4 MB, free: 40.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-06/0.002179, allocations: 384 / 320.4 MB, free: 40.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-06/0.002185, allocations: 384 / 320.4 MB, free: 40.28 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.002298, allocations: 111.7 kB / 320.5 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.002305, allocations: 4.188 kB / 320.5 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.002312, allocations: 4.375 kB / 320.5 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.002317, allocations: 384 / 320.5 MB, free: 40.14 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.002339, allocations: 15.86 kB / 320.6 MB, free: 40.12 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.002507, allocations: 245 kB / 320.8 MB, free: 39.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.688e-05/0.002564, allocations: 66.06 kB / 320.9 MB, free: 39.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.96e-05/0.002583, allocations: 23.48 kB / 320.9 MB, free: 39.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.002595, allocations: 4 kB / 320.9 MB, free: 39.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.002608, allocations: 37.39 kB / 320.9 MB, free: 39.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.002609, allocations: 0 / 320.9 MB, free: 39.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001105/0.002719, allocations: 53.58 kB / 321 MB, free: 39.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.002741, allocations: 106.8 kB / 321.1 MB, free: 39.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.409e-05/0.002775, allocations: 161.9 kB / 321.2 MB, free: 39.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.002782, allocations: 25.7 kB / 321.3 MB, free: 39.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.002805, allocations: 134.8 kB / 321.4 MB, free: 39.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.002819, allocations: 3.953 kB / 321.4 MB, free: 39.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.002842, allocations: 27.36 kB / 321.4 MB, free: 39.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.002883, allocations: 0.4886 MB / 321.9 MB, free: 38.61 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.002897, allocations: 11.69 kB / 321.9 MB, free: 38.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.883e-05/0.002926, allocations: 64.86 kB / 322 MB, free: 38.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.771e-05/0.002953, allocations: 27.38 kB / 322 MB, free: 38.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.002955, allocations: 4 kB / 322 MB, free: 38.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.947e-05/0.003005, allocations: 41.64 kB / 322.1 MB, free: 38.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.003014, allocations: 8 kB / 322.1 MB, free: 38.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.003018, allocations: 4.094 kB / 322.1 MB, free: 38.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.064e-06/0.003025, allocations: 3.938 kB / 322.1 MB, free: 38.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.003075, allocations: 11.98 kB / 322.1 MB, free: 38.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.003077, allocations: 0 / 322.1 MB, free: 38.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.278e-05/0.0031, allocations: 4 kB / 322.1 MB, free: 38.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.003105, allocations: 0 / 322.1 MB, free: 38.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.502e-05/0.00313, allocations: 138.9 kB / 322.2 MB, free: 38.25 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.4e-05/0.003144, allocations: 52.77 kB / 322.3 MB, free: 38.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.501e-05/0.003159, allocations: 31.33 kB / 322.3 MB, free: 38.14 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.41e-07/0.003159, allocations: 0 / 322.3 MB, free: 38.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 3.489e-05/0.003194, allocations: 53.58 kB / 322.4 MB, free: 38.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.208e-06/0.003198, allocations: 5.719 kB / 322.4 MB, free: 38.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.003199, allocations: 4 kB / 322.4 MB, free: 38.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.01e-07/0.0032, allocations: 0 / 322.4 MB, free: 38.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.338e-05/0.003214, allocations: 4 kB / 322.4 MB, free: 38.07 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-06/0.003215, allocations: 3.938 kB / 322.4 MB, free: 38.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.582e-05/0.003231, allocations: 11.92 kB / 322.4 MB, free: 38.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-06/0.003232, allocations: 0 / 322.4 MB, free: 38.06 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 4.158e-05/0.003274, allocations: 272.1 kB / 322.7 MB, free: 37.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.003289, allocations: 4 kB / 322.7 MB, free: 37.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.537e-05/0.003304, allocations: 7.312 kB / 322.7 MB, free: 37.78 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.003306, allocations: 3.938 kB / 322.7 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.003308, allocations: 0 / 322.7 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.00331, allocations: 0 / 322.7 MB, free: 37.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.063e-05/0.003381, allocations: 105.2 kB / 322.8 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003381, allocations: 0 / 322.8 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.866e-05/0.0034, allocations: 4 kB / 322.8 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.003401, allocations: 4 kB / 322.8 MB, free: 37.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-06/0.003405, allocations: 11.94 kB / 322.8 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003406, allocations: 0 / 322.8 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.003406, allocations: 0 / 322.8 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001764/0.003583, allocations: 1.391 MB / 324.2 MB, free: 36.15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.062e-06/0.003589, allocations: 0 / 324.2 MB, free: 36.15 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-06/0.003596, allocations: 3.984 kB / 324.2 MB, free: 36.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.467e-05/0.003631, allocations: 4 kB / 324.2 MB, free: 36.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.488e-05/0.003656, allocations: 11.98 kB / 324.2 MB, free: 36.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.003658, allocations: 4 kB / 324.2 MB, free: 36.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.669e-05/0.003675, allocations: 123.2 kB / 324.3 MB, free: 36.01 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003675, allocations: 4 kB / 324.3 MB, free: 36 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003167/0.003992, allocations: 8 kB / 324.3 MB, free: 36 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 4.852e-05/0.00404, allocations: 91.91 kB / 324.4 MB, free: 35.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.341e-05/0.004114, allocations: 39.3 kB / 324.5 MB, free: 35.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.004114, allocations: 0 / 324.5 MB, free: 35.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.004129, allocations: 19.62 kB / 324.5 MB, free: 35.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.004268, allocations: 8.312 kB / 324.5 MB, free: 35.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001883/0.004457, allocations: 295.9 kB / 324.8 MB, free: 35.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.881e-05/0.004475, allocations: 59.34 kB / 324.8 MB, free: 35.4 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.34e-05/0.004499, allocations: 4.375 kB / 324.8 MB, free: 35.4 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.809e-05/0.004537, allocations: 74.2 kB / 324.9 MB, free: 35.32 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.004538, allocations: 0 / 324.9 MB, free: 35.32 MB / 282.7 MB Notification: Performance of Templates: time 0.002044/0.006582, allocations: 0.7755 MB / 325.7 MB, free: 34.56 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=240 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","",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.7053514029830694]