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.001409/0.001409, allocations: 101 kB / 20.48 MB, free: 1.488 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.001573/0.001573, allocations: 218.3 kB / 23.8 MB, free: 4.699 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.675/1.675, allocations: 207.6 MB / 234.6 MB, free: 10.01 MB / 190.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.07121/0.07121, allocations: 14.39 MB / 301.2 MB, free: 7.535 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 67.91 kB / 422.7 MB, free: 38.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09232, allocations: 52.91 MB / 475.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestDeadBand): time 0.002257/0.09458, allocations: 0.6789 MB / 476.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002711/0.09485, allocations: 59.8 kB / 476.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.107e-05/0.09489, allocations: 0 / 476.3 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.467e-05/0.09493, allocations: 7.922 kB / 476.3 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.09502, allocations: 7.938 kB / 476.3 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.0952, allocations: 19.98 kB / 476.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.09534, allocations: 27.92 kB / 476.4 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.09545, allocations: 4 kB / 476.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.0955, allocations: 15.97 kB / 476.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.102e-05/0.09558, allocations: 15.92 kB / 476.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.0956, allocations: 0 / 476.4 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.09561, allocations: 4 kB / 476.4 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.09563, allocations: 4 kB / 476.4 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.09566, allocations: 15.88 kB / 476.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.09576, allocations: 31.78 kB / 476.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.09576, allocations: 0 / 476.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.09576, allocations: 0 / 476.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.09577, allocations: 0 / 476.5 MB, free: 0.9141 MB / 334.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.0005032/0.09627, allocations: 254.4 kB / 476.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.09631, allocations: 8.031 kB / 476.7 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.09636, allocations: 8.922 kB / 476.7 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.09654, allocations: 110.5 kB / 476.8 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.09655, allocations: 4.375 kB / 476.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.09656, allocations: 384 / 476.8 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.09679, allocations: 80.73 kB / 476.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.0968, allocations: 192 / 476.9 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.09681, allocations: 3.938 kB / 476.9 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.09682, allocations: 0 / 476.9 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.097, allocations: 39.97 kB / 477 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.09743, allocations: 240.9 kB / 477.2 MB, free: 64 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.09766, allocations: 79.31 kB / 477.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.09777, allocations: 29.77 kB / 477.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.09779, allocations: 0 / 477.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.09783, allocations: 38.56 kB / 477.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.09783, allocations: 0 / 477.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004206/0.09825, allocations: 93.53 kB / 477.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.09834, allocations: 110.8 kB / 477.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.09845, allocations: 101.8 kB / 477.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.09847, allocations: 25.7 kB / 477.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.568e-05/0.09853, allocations: 88.08 kB / 477.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.09855, allocations: 8.141 kB / 477.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.09859, allocations: 17.72 kB / 477.8 MB, free: 15.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.09876, allocations: 314.8 kB / 478.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.663e-05/0.09886, allocations: 28.83 kB / 478.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.673e-05/0.09896, allocations: 34.56 kB / 478.1 MB, free: 15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.09913, allocations: 53.72 kB / 478.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.09913, allocations: 0 / 478.2 MB, free: 14.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00024/0.09937, allocations: 77.53 kB / 478.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.09939, allocations: 4 kB / 478.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.0994, allocations: 4.062 kB / 478.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.09942, allocations: 0 / 478.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.09953, allocations: 11.98 kB / 478.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.09954, allocations: 7.984 kB / 478.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.2e-05/0.0996, allocations: 11.94 kB / 478.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.09961, allocations: 0 / 478.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.513e-05/0.0997, allocations: 92.08 kB / 478.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 6.166e-05/0.09976, allocations: 34.5 kB / 478.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.365e-05/0.09985, allocations: 29.7 kB / 478.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.81e-07/0.09985, allocations: 0 / 478.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization_lambda0): time 0.0001468/0.09999, allocations: 57.56 kB / 478.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/0.1, allocations: 4 kB / 478.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-06/0.1, allocations: 0 / 478.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-06/0.1, allocations: 4.094 kB / 478.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.1, allocations: 8 kB / 478.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-06/0.1, allocations: 0 / 478.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.46e-05/0.1001, allocations: 7.984 kB / 478.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-06/0.1001, allocations: 0 / 478.5 MB, free: 14.57 MB / 350.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 0.0001319/0.1002, allocations: 188.2 kB / 478.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.1002, allocations: 0 / 478.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.1003, allocations: 7.266 kB / 478.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1003, allocations: 8 kB / 478.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1003, allocations: 0 / 478.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1003, allocations: 0 / 478.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.1005, allocations: 140.7 kB / 478.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1005, allocations: 3.938 kB / 478.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.501e-05/0.1005, allocations: 15.92 kB / 478.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1005, allocations: 0 / 478.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1005, allocations: 0 / 478.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1005, allocations: 0 / 478.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1005, allocations: 0 / 478.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007558/0.1013, allocations: 0.9657 MB / 479.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.1013, allocations: 8.422 kB / 479.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1013, allocations: 8 kB / 479.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.823e-05/0.1014, allocations: 11.92 kB / 479.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.127e-05/0.1015, allocations: 4 kB / 479.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1015, allocations: 0 / 479.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.089e-05/0.1015, allocations: 87.25 kB / 480 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1015, allocations: 0 / 480 MB, free: 13.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005198/0.102, allocations: 12 kB / 480 MB, free: 13 MB / 350.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 0.0001246/0.1022, allocations: 95.25 kB / 480.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.1024, allocations: 55.89 kB / 480.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1024, allocations: 0 / 480.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.1025, allocations: 19.92 kB / 480.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.1028, allocations: 12.38 kB / 480.2 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.1032, allocations: 224.4 kB / 480.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1036, allocations: 0.6845 MB / 481.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.875e-05/0.1036, allocations: 12 kB / 481.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.1037, allocations: 7.438 kB / 481.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1037, allocations: 0 / 481.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Templates: time 0.003348/0.107, allocations: 0.6522 MB / 481.7 MB, free: 11.17 MB / 350.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=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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestDeadBand_res.mat","/var/lib/jenkins1/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.789794551033992]