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.001666/0.001666, allocations: 78.89 kB / 19.95 MB, free: 1.762 MB / 14.72 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.00216/0.00216, allocations: 168.6 kB / 23.23 MB, free: 4.875 MB / 14.72 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.31/1.31, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 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.06303/0.06303, allocations: 10.64 MB / 247.9 MB, free: 10.52 MB / 238.1 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.703e-06/1.703e-06, allocations: 0 / 369.4 MB, free: 20.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.562e-05, allocations: 3.266 kB / 369.4 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.001459/0.001485, allocations: 0.6848 MB / 370 MB, free: 20.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001996/0.001685, allocations: 59.8 kB / 370.1 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.683e-05/0.001721, allocations: 0 / 370.1 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.001748, allocations: 3.938 kB / 370.1 MB, free: 20.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.00182, allocations: 4 kB / 370.1 MB, free: 20.22 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.001953, allocations: 19.92 kB / 370.1 MB, free: 20.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.002033, allocations: 27.92 kB / 370.2 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.738e-05/0.002111, allocations: 4 kB / 370.2 MB, free: 20.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.694e-05/0.002148, allocations: 15.97 kB / 370.2 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.063e-05/0.002198, allocations: 15.92 kB / 370.2 MB, free: 20.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.002216, allocations: 4 kB / 370.2 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-06/0.002223, allocations: 0 / 370.2 MB, free: 20.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.55e-05/0.002239, allocations: 11.98 kB / 370.2 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.002262, allocations: 0 / 370.2 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.819e-05/0.00233, allocations: 23.91 kB / 370.2 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002332, allocations: 0 / 370.2 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002332, allocations: 4 kB / 370.2 MB, free: 20.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.155e-06/0.002336, allocations: 4 kB / 370.2 MB, free: 20.09 MB / 302.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.0002997/0.002635, allocations: 250.4 kB / 370.5 MB, free: 19.81 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.002665, allocations: 8.031 kB / 370.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.196e-05/0.002697, allocations: 8.891 kB / 370.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.002807, allocations: 117.7 kB / 370.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.002827, allocations: 4.375 kB / 370.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.002838, allocations: 4.359 kB / 370.6 MB, free: 19.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.003022, allocations: 98.52 kB / 370.7 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.00303, allocations: 4.188 kB / 370.7 MB, free: 19.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-06/0.00304, allocations: 4.312 kB / 370.7 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.003045, allocations: 4.375 kB / 370.7 MB, free: 19.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.003197, allocations: 43.83 kB / 370.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.003449, allocations: 209.5 kB / 371 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.0036, allocations: 69.12 kB / 371 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.003684, allocations: 33.75 kB / 371.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.003702, allocations: 4 kB / 371.1 MB, free: 19.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.003719, allocations: 34.56 kB / 371.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.00372, allocations: 0 / 371.1 MB, free: 19.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003262/0.004046, allocations: 105.7 kB / 371.2 MB, free: 18.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.00408, allocations: 102.8 kB / 371.3 MB, free: 18.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.102e-05/0.004121, allocations: 93.86 kB / 371.4 MB, free: 18.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-06/0.00413, allocations: 29.7 kB / 371.4 MB, free: 18.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.004152, allocations: 84.14 kB / 371.5 MB, free: 18.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.45e-05/0.004166, allocations: 7.938 kB / 371.5 MB, free: 18.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.839e-05/0.004194, allocations: 17.72 kB / 371.5 MB, free: 18.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.351e-05/0.004228, allocations: 310.8 kB / 371.9 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.00431, allocations: 24.84 kB / 371.9 MB, free: 18.24 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.004393, allocations: 72.22 kB / 371.9 MB, free: 18.15 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.004536, allocations: 45.69 kB / 372 MB, free: 18.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.004538, allocations: 4 kB / 372 MB, free: 18.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001816/0.00472, allocations: 81.53 kB / 372.1 MB, free: 18.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004731, allocations: 12.09 kB / 372.1 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.004735, allocations: 3.938 kB / 372.1 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.004748, allocations: 0 / 372.1 MB, free: 18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.112e-05/0.004829, allocations: 11.98 kB / 372.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.004834, allocations: 0 / 372.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.004886, allocations: 4 kB / 372.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.004893, allocations: 4 kB / 372.1 MB, free: 17.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.361e-05/0.004947, allocations: 88.12 kB / 372.2 MB, free: 17.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 4.365e-05/0.00499, allocations: 56.27 kB / 372.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.789e-05/0.005058, allocations: 29.69 kB / 372.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.12e-07/0.005059, allocations: 0 / 372.3 MB, free: 17.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001029/0.005162, allocations: 53.64 kB / 372.3 MB, free: 17.72 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.573e-06/0.005168, allocations: 8 kB / 372.3 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.00517, allocations: 3.984 kB / 372.3 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-06/0.005172, allocations: 3.938 kB / 372.3 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.46e-05/0.005207, allocations: 7.938 kB / 372.4 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.733e-06/0.005209, allocations: 8.062 kB / 372.4 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.005246, allocations: 4 kB / 372.4 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-06/0.005249, allocations: 0 / 372.4 MB, free: 17.69 MB / 302.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 3.96e-05/0.005288, allocations: 176.3 kB / 372.5 MB, free: 17.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.005313, allocations: 15.92 kB / 372.6 MB, free: 17.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.764e-05/0.005331, allocations: 11.58 kB / 372.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.005332, allocations: 0 / 372.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.005336, allocations: 4 kB / 372.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005339, allocations: 0 / 372.6 MB, free: 17.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.085e-05/0.005429, allocations: 113.2 kB / 372.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.00543, allocations: 4 kB / 372.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.005487, allocations: 8 kB / 372.7 MB, free: 17.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.005489, allocations: 4 kB / 372.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.005495, allocations: 0 / 372.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.005497, allocations: 3.938 kB / 372.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.005498, allocations: 3.984 kB / 372.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.005878, allocations: 0.9696 MB / 373.7 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-06/0.005885, allocations: 3.938 kB / 373.7 MB, free: 16.28 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.005897, allocations: 7.938 kB / 373.7 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.979e-05/0.005977, allocations: 4 kB / 373.7 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.00601, allocations: 11.98 kB / 373.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.006014, allocations: 4 kB / 373.7 MB, free: 16.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.711e-05/0.006031, allocations: 75.28 kB / 373.8 MB, free: 16.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.006031, allocations: 4 kB / 373.8 MB, free: 16.17 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.00652, allocations: 7.938 kB / 373.8 MB, free: 16.16 MB / 302.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 5.898e-05/0.006579, allocations: 103.2 kB / 373.9 MB, free: 16.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.00682, allocations: 51.89 kB / 373.9 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.006822, allocations: 4 kB / 373.9 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.006902, allocations: 19.98 kB / 374 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.007108, allocations: 4 kB / 374 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.007422, allocations: 236.8 kB / 374.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.225e-05/0.007455, allocations: 62.42 kB / 374.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.719e-05/0.007492, allocations: 11.98 kB / 374.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.007518, allocations: 8.5 kB / 374.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.007519, allocations: 4 kB / 374.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of Templates: time 0.002657/0.01018, allocations: 0.6919 MB / 375 MB, free: 14.92 MB / 302.1 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.206631433218718]