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.001429/0.001429, allocations: 88.22 kB / 20.95 MB, free: 3.598 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.001717/0.001717, allocations: 169 kB / 24.26 MB, free: 296 kB / 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.8611/0.8611, allocations: 158.6 MB / 186.1 MB, free: 2.48 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.04417/0.04417, allocations: 10.66 MB / 249 MB, free: 4.492 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.523e-06/1.523e-06, allocations: 0 / 317.8 MB, free: 42.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.634e-05/2.786e-05, allocations: 2.312 kB / 317.8 MB, free: 42.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.004672/0.0047, allocations: 0.6993 MB / 318.5 MB, free: 41.63 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.004926, allocations: 59.8 kB / 318.6 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.004963, allocations: 7.875 kB / 318.6 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.004988, allocations: 0 / 318.6 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.316e-05/0.005071, allocations: 0 / 318.6 MB, free: 41.57 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001384/0.005209, allocations: 19.92 kB / 318.6 MB, free: 41.55 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.005311, allocations: 31.92 kB / 318.6 MB, free: 41.52 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.005401, allocations: 0 / 318.6 MB, free: 41.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.459e-05/0.005446, allocations: 15.98 kB / 318.6 MB, free: 41.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.222e-05/0.005498, allocations: 11.98 kB / 318.7 MB, free: 41.49 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.005518, allocations: 0 / 318.7 MB, free: 41.49 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/0.005527, allocations: 4 kB / 318.7 MB, free: 41.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.005545, allocations: 15.91 kB / 318.7 MB, free: 41.47 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.005567, allocations: 7.375 kB / 318.7 MB, free: 41.46 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.929e-05/0.005646, allocations: 15.92 kB / 318.7 MB, free: 41.45 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005649, allocations: 8 kB / 318.7 MB, free: 41.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.00565, allocations: 0 / 318.7 MB, free: 41.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005655, allocations: 0 / 318.7 MB, free: 41.44 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.0002932/0.005948, allocations: 350.8 kB / 319 MB, free: 41.06 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.005986, allocations: 12.03 kB / 319.1 MB, free: 41.05 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.006028, allocations: 9.172 kB / 319.1 MB, free: 41.04 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.006148, allocations: 120.5 kB / 319.2 MB, free: 40.9 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.006158, allocations: 8.359 kB / 319.2 MB, free: 40.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.006168, allocations: 384 / 319.2 MB, free: 40.89 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00619/0.01236, allocations: 111.7 kB / 319.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.01237, allocations: 4.188 kB / 319.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.01238, allocations: 4.375 kB / 319.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.01239, allocations: 384 / 319.3 MB, free: 40.75 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.051e-05/0.01243, allocations: 15.86 kB / 319.3 MB, free: 40.73 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.0127, allocations: 263.6 kB / 319.6 MB, free: 40.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.01278, allocations: 66.12 kB / 319.6 MB, free: 40.34 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/0.01281, allocations: 23.42 kB / 319.7 MB, free: 40.31 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.01283, allocations: 0 / 319.7 MB, free: 40.31 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.01285, allocations: 45.39 kB / 319.7 MB, free: 40.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.01285, allocations: 0 / 319.7 MB, free: 40.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001747/0.01302, allocations: 57.56 kB / 319.8 MB, free: 40.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.01305, allocations: 102.8 kB / 319.9 MB, free: 40.07 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.0131, allocations: 153.9 kB / 320 MB, free: 39.9 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.235e-06/0.01311, allocations: 25.7 kB / 320 MB, free: 39.87 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.01314, allocations: 138.8 kB / 320.2 MB, free: 39.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.01316, allocations: 11.92 kB / 320.2 MB, free: 39.72 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.01319, allocations: 19.62 kB / 320.2 MB, free: 39.69 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.698e-05/0.01323, allocations: 0.4884 MB / 320.7 MB, free: 39.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.743e-05/0.01326, allocations: 15.62 kB / 320.7 MB, free: 39.17 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.084e-05/0.01329, allocations: 60.75 kB / 320.8 MB, free: 39.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.01333, allocations: 23.38 kB / 320.8 MB, free: 39.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01333, allocations: 4 kB / 320.8 MB, free: 39.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.633e-05/0.01341, allocations: 45.64 kB / 320.8 MB, free: 39.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.01342, allocations: 7.984 kB / 320.9 MB, free: 39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01343, allocations: 9.984 kB / 320.9 MB, free: 38.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.01344, allocations: 4 kB / 320.9 MB, free: 38.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.01352, allocations: 4 kB / 320.9 MB, free: 38.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01352, allocations: 4 kB / 320.9 MB, free: 38.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.24e-05/0.01356, allocations: 7.984 kB / 320.9 MB, free: 38.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.01356, allocations: 0 / 320.9 MB, free: 38.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 2.478e-05/0.01359, allocations: 134.8 kB / 321 MB, free: 38.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 1.892e-05/0.01361, allocations: 52.77 kB / 321.1 MB, free: 38.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 2.207e-05/0.01363, allocations: 35.34 kB / 321.1 MB, free: 38.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.81e-07/0.01363, allocations: 0 / 321.1 MB, free: 38.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 5.143e-05/0.01368, allocations: 49.58 kB / 321.1 MB, free: 38.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.131e-06/0.01369, allocations: 5.719 kB / 321.2 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-06/0.01369, allocations: 4 kB / 321.2 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-06/0.01369, allocations: 3.938 kB / 321.2 MB, free: 38.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-05/0.01371, allocations: 4 kB / 321.2 MB, free: 38.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-06/0.01371, allocations: 3.984 kB / 321.2 MB, free: 38.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.01374, allocations: 11.94 kB / 321.2 MB, free: 38.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-06/0.01374, allocations: 4.062 kB / 321.2 MB, free: 38.63 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.189e-05/0.01378, allocations: 268.1 kB / 321.4 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.0138, allocations: 4.375 kB / 321.5 MB, free: 38.36 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.01383, allocations: 15.25 kB / 321.5 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01383, allocations: 0 / 321.5 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01383, allocations: 0 / 321.5 MB, free: 38.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01384, allocations: 3.984 kB / 321.5 MB, free: 38.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.65e-05/0.01393, allocations: 120.6 kB / 321.6 MB, free: 38.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01394, allocations: 0 / 321.6 MB, free: 38.19 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.01397, allocations: 11.92 kB / 321.6 MB, free: 38.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.01397, allocations: 8 kB / 321.6 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.01397, allocations: 0 / 321.6 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01397, allocations: 3.938 kB / 321.6 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01398, allocations: 0 / 321.6 MB, free: 38.17 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.0142, allocations: 1.387 MB / 323 MB, free: 36.7 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.01422, allocations: 4 kB / 323 MB, free: 36.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.01423, allocations: 0 / 323 MB, free: 36.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.85e-05/0.01429, allocations: 4 kB / 323 MB, free: 36.69 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.01433, allocations: 7.984 kB / 323 MB, free: 36.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.01434, allocations: 4 kB / 323 MB, free: 36.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.763e-05/0.01435, allocations: 123.2 kB / 323.1 MB, free: 36.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01435, allocations: 0 / 323.1 MB, free: 36.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004907/0.01484, allocations: 11.94 kB / 323.1 MB, free: 36.55 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 7.283e-05/0.01492, allocations: 99.23 kB / 323.2 MB, free: 36.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006119/0.02104, allocations: 39.25 kB / 323.3 MB, free: 36.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.02104, allocations: 0 / 323.3 MB, free: 36.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.02107, allocations: 27.61 kB / 323.3 MB, free: 36.36 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.0213, allocations: 8.375 kB / 323.3 MB, free: 36.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.02161, allocations: 287.9 kB / 323.6 MB, free: 36.02 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.665e-05/0.02163, allocations: 59.3 kB / 323.7 MB, free: 35.95 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.306e-05/0.02167, allocations: 4 kB / 323.7 MB, free: 35.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.0217, allocations: 16.5 kB / 323.7 MB, free: 35.93 MB / 282.7 MB Notification: Performance of SimCode: time 1.383e-06/0.0217, allocations: 0 / 323.7 MB, free: 35.93 MB / 282.7 MB Notification: Performance of Templates: time 0.004044/0.02575, allocations: 0.6973 MB / 324.4 MB, free: 35.24 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.7318795279134065]